PostgreSQL – View Database Version

Run the below sql command to query the version of your postgres database.

select version();

See also  PostgreSQL - DISTINCT ON clause