Re: proposal: alternative psql commands quit and exit

From: David Fetter <david(at)fetter(dot)org>
To: Chapman Flack <chap(at)anastigmatix(dot)net>
Cc: Geoff Winkless <pgsqladmin(at)geoff(dot)dj>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, Robert Haas <robertmhaas(at)gmail(dot)com>, Everaldo Canuto <everaldo(dot)canuto(at)gmail(dot)com>, 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-01-15 21:32:55
Message-ID: 20180115213255.GF14029@fetter.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Jan 15, 2018 at 01:24:45PM -0500, Chapman Flack wrote:
> On 01/15/18 11:56, David Fetter wrote:
> >> And while trying to find the EOF setting in libreadline might get
> >> messy, you're already assuming that ctrl-C hasn't been knobbled
> >> using stty intr. Unless you want to go searching for that too?
> >
> > I'm pretty sure changing either or both of those settings would
> > qualify as pilot error, and pretty abstruse pilot error at that.
>
> I once worked in a shop where the EOF default had in fact been changed
> to ^Z on the Unix boxen, for consistency with Windows. I may have had
> a personal opinion about it not unlike yours, but the pilot at the time
> being my boss, I just made it my business to cheerfully explain it every.
> time. it. needed. explaining.
>
> So, it's a thing that can happen.

Of course it is. It's just not a thing I believe we should perturb
our code or documentation to accommodate.

Best,
David.
--
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2018-01-15 21:38:04 Re: [HACKERS] postgres_fdw bug in 9.6
Previous Message Robert Haas 2018-01-15 21:15:42 Re: [HACKERS] WIP: Aggregation push-down