get postgres version ubuntu code example
Example 1: check postgres version in ubuntu
$ locate bin/postgres
/usr/lib/postgresql/9.3/bin/postgres
Example 2: postgres version command
SELECT version();
$ locate bin/postgres
/usr/lib/postgresql/9.3/bin/postgres
SELECT version();