From: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Robert Haas <robertmhaas(at)gmail(dot)com>, Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, Everaldo Canuto <everaldo(dot)canuto(at)gmail(dot)com>, Chapman Flack <chap(at)anastigmatix(dot)net>, Vik Fearing <vik(dot)fearing(at)2ndquadrant(dot)com>, Stephen Frost <sfrost(at)snowman(dot)net>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: proposal: alternative psql commands quit and exit |
Date: | 2018-01-16 19:23:28 |
Message-ID: | 20180116192328.76v7afuhbieuedc4@alvherre.pgsql |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Tom Lane wrote:
> Also, I remain of the opinion that we needn't necessarily teach them the
> minimum-keystrokes solution; it's better to teach something that will work
> every time. Maybe ^C is close enough on that score, but I'm not sure.
IMO in the spirit of keeping things simple, it's enough to tell people
to ^C their way out (and why); anything more complicated than that, such
as closing any open quotes, is not catering for the newbie community
that this feature is supposed to help. As Robert said, if you're trying
to exit the terminal, you don't care too much about any string literals
you have open.
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
From | Date | Subject | |
---|---|---|---|
Next Message | David Fetter | 2018-01-16 19:31:28 | Re: let's not complain about harmless patch-apply failures |
Previous Message | Vladimir Sitnikov | 2018-01-16 17:38:50 | Re: jdbc targetServerType=slave with readonly connection |