show postgresql version code example
Example 1: check postgres version
psql --version
Example 2: get postgres version
postgres -V
// or
psql --version
Example 3: postgresql version command
# SSH
psql --version
# SQL
SELECT version();
Example 4: postgres version command
SELECT version();