postgresql commands linux version psql --version code example
Example 1: postgresql version command
# SSH
psql --version
# SQL
SELECT version();
Example 2: postgres version command
SELECT version();
# SSH
psql --version
# SQL
SELECT version();
SELECT version();