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