Re: proposal: alternative psql commands quit and exit

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Daniel Verite <daniel(at)manitou-mail(dot)org>, Robert Haas <robertmhaas(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, 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>, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: proposal: alternative psql commands quit and exit
Date: 2018-02-14 06:07:46
Message-ID: 20180214060746.GB4544@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Feb 14, 2018 at 12:56:48AM -0500, Bruce Momjian wrote:
> On Mon, Feb 12, 2018 at 01:28:53AM -0500, Bruce Momjian wrote:
> > > Should we give the same "Use control-D to quit." hint here for '\q'?
> > > I think it is logical that we should.
> >
> > I have applied the attached patch giving a ^D/^C hint where \q is
> > ignored, and add C comment documenting why exit/quit is not documented.
> >
> > I consider this issue closed, or quited, or exited. :-)
>
> FYI, Ivan Panchenko got applause at PGConf.Russia 2018 in Moscow when he
> mentioned we added quit/exit to psql. :-) I also think the ^D/^C hint
> for \q when you are in quotes will help too.

:)
Will there be a video or a reference to the talk slides? I'd love to
hear the audience reaction.
--
Michael

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2018-02-14 06:17:46 Re: proposal: alternative psql commands quit and exit
Previous Message Oleg Bartunov 2018-02-14 06:00:24 Re: jsonpath