Re: proposal: alternative psql commands quit and exit

Поиск
Список
Период
Сортировка
От Chapman Flack
Тема Re: proposal: alternative psql commands quit and exit
Дата
Msg-id 5A5F5B17.2040101@anastigmatix.net
обсуждение исходный текст
Ответ на Re: proposal: alternative psql commands quit and exit  (Geoff Winkless <pgsqladmin@geoff.dj>)
Ответы Re: proposal: alternative psql commands quit and exit
Re: proposal: alternative psql commands quit and exit
Список pgsql-hackers
On 01/17/18 06:50, Geoff Winkless wrote:

> Having said all that, has anyone suggested grabbing and writing out
> using the "stty quit" value? That appears to work whatever level
> you're at, readline-or-not, mid-line or not. It wasn't even something
> I was aware of.

Well, the usual use of SIGQUIT is to abort a process while generating
a core dump so it can be post-mortem debugged, and the abort is immediate
without any exit hooks in the process having a chance to execute, so
maybe it isn't a habit we would want to inculcate for general use.

-Chap


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

Предыдущее
От: Christoph Berg
Дата:
Сообщение: Re: Package version in PG_VERSION and version()
Следующее
От: Geoff Winkless
Дата:
Сообщение: Re: proposal: alternative psql commands quit and exit