EN
PostgreSQL - check version from command line
0
points
In this short article, we would like to show how to check the PostgreSQL version using the command line.
Server version:
postgres -V
Example output:
postgres (PostgreSQL) 13.2
Client version:
psql -V
Example output:
psql (PostgreSQL) 13.2
Note:
postgres --version
is equivalent topostgres -V
.