What command or short key can I use to exit the PostgreSQL command line utility psql
?
Here is the gist of the answers:
Type the following to exit the PostgreSQL command line utility psql
:
\q
+ Enter
Press the following key combinations for Windows, Mac or Linux:
ctrl+D
For more command options type:
\?
+ Enter