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.
xxxxxxxxxx
1
postgres -V
Example output:
xxxxxxxxxx
1
postgres (PostgreSQL) 13.2
xxxxxxxxxx
1
psql -V
Example output:
xxxxxxxxxx
1
psql (PostgreSQL) 13.2
Note:
postgres --version
is equivalent topostgres -V
.