PostgreSQL 18 · Connecting

Check the server version

Run inside psql to see which server version you are connected to.

SELECT version();

Official PostgreSQL 18 documentation

More connecting commands

All connecting commands · PostgreSQL 18 cheatsheet

Was this page helpful?