LKBEN11190: Howto find the exact PostgreSQL version you are running
Symptom
You are using postgres sql and need the version
Cause
none
Solution
You just just use the following sql statement:
SELECT version();
The output will look like:
version
-------------------------------------------------------------------------------------------------
PostgreSQL 8.3.11 on x86_64-pc-linux-gnu, compiled by GCC gcc-4.3.real (Debian 4.3.2-1.1) 4.3.2
In MS SQL (TSQL) you can use the following sql statement:
SELECT @@VERSION;
Disclaimer:
The information provided in this document is intended for your information only. Lubby makes no claims to the validity of this information. Use of this information is at own risk!About the Author
Author:
- Keskon GmbH & Co. KGWim Peeters is electronics engineer with an additional master in IT and over 30 years of experience, including time spent in support, development, consulting, training and database administration. Wim has worked with SQL Server since version 6.5. He has developed in C/C++, Java and C# on Windows and Linux. He writes knowledge base articles to solve IT problems and publishes them on the Lubby Knowledge Platform.