Check version.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Sun, 30 Dec 2018 14:08:23 +0200
changeset 2319 3d50794717d5
parent 2318 2463c53f0d9e
child 2320 b7a2c43902f3
Check version.
postgres.rst
--- a/postgres.rst	Sun Dec 30 09:09:05 2018 +0200
+++ b/postgres.rst	Sun Dec 30 14:08:23 2018 +0200
@@ -35,6 +35,19 @@
 https://wiki.debian.org/PostgreSql
   Debian wiki instructions.
 
+Check version
+=============
+
+By SQL query::
+
+  SELECT version();
+  SHOW server_version;
+  SHOW server_version_num;
+
+From executable::
+
+  $ postgres -V
+
 Check locations
 ===============
 ::