Files
DBAdmin/inbox/DataBase/PostgreSQL/database/pg_version.sql
T
2026-05-18 06:40:19 +00:00

21 lines
657 B
SQL

dbaclass=# show server_version;
server_version
----------------
10.13
(1 row)
dbaclass=# select version ();
version
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
PostgreSQL 10.13 on x86_64-apple-darwin, compiled by i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00), 64-bit
(1 row)
postgres$ cd /Library/PostgreSQL/10/bin
postgres$ ./postgres -V
postgres (PostgreSQL) 10.13
-- PG_VERSION file is under data directory
postgres$ cd /Library/PostgreSQL/10/data
postgres$ cat PG_VERSION