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