What command or short key can I use to exit the PostgreSQL command line utility psql?
What command or short key can I use to exit the PostgreSQL command line
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Type
\qand then pressENTERto quitpsql.UPDATE: 19-OCT-2018
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.