Display PostgreSQL/PgSQL version
To display the PostgreSQL version number (and other information like compiler version used to build PgSQL) issue the following SQL statement from within psql:
SELECT version();
To quickly determine just the PostgreSQL version number, run this command from the OS command line:
psql --version






Add New Comment
Thanks. Your comment is awaiting approval by a moderator.
Do you already have an account? Log in and claim this comment.
Add New Comment