Re: proposal: alternative psql commands quit and exit

Поиск
Список
Период
Сортировка
От Chapman Flack
Тема Re: proposal: alternative psql commands quit and exit
Дата
Msg-id 55bdf510-5897-2cef-0981-de7fcbb32ab1@anastigmatix.net
обсуждение исходный текст
Ответ на Re: proposal: alternative psql commands quit and exit  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On 12/12/2017 03:39 PM, Robert Haas wrote:
> On Tue, Dec 12, 2017 at 10:02 AM, Geoff Winkless <pgsqladmin@geoff.dj> 
>> Ctrl-D works almost everywhere. It takes 2 seconds...
> 
> If it really took everyone 2 seconds, this question would not be as
> common as it is. ...

Some years ago, I took a job at a mostly-Unix shop, where the
default .profile supplied with every new account contained

  stty eof ^Z

... apparently, a sysadmin had liked the DOS convention better than
the Unix one, and then made it the default for everybody. It often
took people more than 2 seconds to learn to use ^Z where they
expected ^D to work (not to mention to learn why they couldn't
suspend).

I guess I only mention that to reinforce the point that some
environments have customizations you wouldn't expect, and assumptions
about how obvious something is can be thrown off by a variety of things.

-Chap


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: explain analyze output with parallel workers - question aboutmeaning of information for explain.depesz.com
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: [HACKERS] Custom compression methods