Re: proposal: alternative psql commands quit and exit - Mailing list pgsql-hackers

From Geoff Winkless
Subject Re: proposal: alternative psql commands quit and exit
Date
Msg-id CAEzk6fcLtQh=QYE84ZTU5F153KBKwtz9KajqK7JWA226F=SS1A@mail.gmail.com
Whole thread Raw
In response to Re: proposal: alternative psql commands quit and exit  (Laurenz Albe <laurenz.albe@cybertec.at>)
Responses Re: proposal: alternative psql commands quit and exit
List pgsql-hackers
On 15 January 2018 at 16:16, Laurenz Albe <laurenz.albe@cybertec.at> wrote:
> Geoff Winkless wrote:
>> Can we not just say "ctrl-D to quit" instead of \q? Doesn't that work
>> everywhere?
>
> Not on Windows, as far as I know.

Well on Windows, Ctrl-C doesn't clear the input buffer either - it
quits the whole thing.

Perhaps different messages on different OSes? :)

Others point out (elsewhere) that Ctrl-D fails if there's anything
before it on the individual line, which is news to me. Is that a
readline thing?

Geoff


pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: proposal: alternative psql commands quit and exit
Next
From: David Fetter
Date:
Subject: Re: Implementing SQL ASSERTION