Home How to exit from PostgreSQL command line utility: psql
Reply: 0

How to exit from PostgreSQL command line utility: psql

user10453
1#
user10453 Published in September 20, 2018, 1:00 pm

What command or short key can I use to exit the PostgreSQL command line utility psql?

share|improve this question
  • 2
    @a_horse_with_no_name: I'm not shocked by the question, but the number of upvotes :) Compare e.g. to How do you quit the Vi editor with single keypress? – user272735 Jul 25 '12 at 16:04
  • 161
    Sometimes we need quick and straight forward answer than searching it in the manual to focus on the real problem.In such cases these short questions are really helpful. – App Work Nov 16 '12 at 11:35
  • 160
    The real question is not "are people capable of reading a manual", but "should enterprise software respond to standard exit sequences" like, I don't know, "exit"? Having to read the manual to quit seems seriously counter-intuitive. – Kheldar Feb 20 '14 at 14:39
  • 22
    @Kheldar Indeed, it's just bad user interface design (coupled with arrogance). People are insecure about weird things. – Iain Collins Mar 10 '14 at 20:46
  • 44
    more importantly, this post is now the first hit when i google "exit psql" – Angel S. Moreno Sep 2 '14 at 4:42

7 Answers 7

active oldest votes
up vote 2280 down vote accepted
You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.985388 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO