Postgresql PostgreSQL – View Database Version Run the below sql command to query the version of your postgres database. select version(); Share this: Share on WhatsApp (Opens in new window) WhatsApp Share on Facebook (Opens in new window) Facebook Share on LinkedIn (Opens in new window) LinkedIn Share on Pinterest (Opens in new window) Pinterest Share on Reddit (Opens in new window) Reddit Related See also PostgreSQL - Connect to database from command line using password