Skip to content

VERSION

SELECT VERSION();
"PostgreSQL 13.2, compiled by Visual C++ build 1914, 64-bit"

The VERSION() function in PostgreSQL is executed to get the details of the version of the currently running PostgreSQL database. The output string includes the PostgreSQL version along with some additional information such as build type and platform details.