Re: In MacOS, psql reacts on SIGINT in a strange fashion (Linux is fine)

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: In MacOS, psql reacts on SIGINT in a strange fashion (Linux is fine)
Дата
Msg-id CA+hUKGJauE+UDqst4yjkz+QfyLGv5LONuOtkt6b7pD43Z3HExw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: In MacOS, psql reacts on SIGINT in a strange fashion (Linux is fine)  (Dmitry Koterov <dmitry.koterov@gmail.com>)
Список pgsql-hackers
On Sun, Apr 14, 2024 at 11:18 AM Dmitry Koterov
<dmitry.koterov@gmail.com> wrote:
> Can it be e.g. readline? Or something related to tty or session settings which psql could modify (I did not find any
inthe source code though). 

I was wondering about that.  Are you using libedit or libreadline?
What happens if you build without readline/edit support?  From a quick
glance at libedit, it does a bunch of signal interception, but I
didn't check the details.  It is interested in stuff like SIGWINCH,
the window-resized-by-user signal.



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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: In MacOS, psql reacts on SIGINT in a strange fashion (Linux is fine)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: In MacOS, psql reacts on SIGINT in a strange fashion (Linux is fine)