What command or short key can I use to exit the PostgreSQL command line utility
\q and then press
ENTER to quit
As of PostgreSQL 11, the keywords “
quit” and “
exit” in the PostgreSQL command-line interface have been included to help make it easier to leave the command-line tool.