Re: In MacOS, psql reacts on SIGINT in a strange fashion (Linux is fine) - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: In MacOS, psql reacts on SIGINT in a strange fashion (Linux is fine)
Date
Msg-id CA+hUKGJauE+UDqst4yjkz+QfyLGv5LONuOtkt6b7pD43Z3HExw@mail.gmail.com
Whole thread Raw
In response to Re: In MacOS, psql reacts on SIGINT in a strange fashion (Linux is fine)  (Dmitry Koterov <dmitry.koterov@gmail.com>)
List 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 by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: In MacOS, psql reacts on SIGINT in a strange fashion (Linux is fine)
Next
From: Tom Lane
Date:
Subject: Re: In MacOS, psql reacts on SIGINT in a strange fashion (Linux is fine)