PostgreSQL 18 · Connecting

Check the client version

Print the version of the psql client.

psql --version

Official PostgreSQL 18 documentation

More connecting commands

All connecting commands · PostgreSQL 18 cheatsheet

Was this page helpful?