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

From Tom Lane
Subject Re: In MacOS, psql reacts on SIGINT in a strange fashion (Linux is fine)
Date
Msg-id 274744.1713053351@sss.pgh.pa.us
Whole thread Raw
In response to Re: In MacOS, psql reacts on SIGINT in a strange fashion (Linux is fine)  (Thomas Munro <thomas.munro@gmail.com>)
Responses Re: In MacOS, psql reacts on SIGINT in a strange fashion (Linux is fine)
List pgsql-hackers
Thomas Munro <thomas.munro@gmail.com> writes:
> On Sun, Apr 14, 2024 at 11:49 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> OK, I tried dtruss'ing psql on macOS.  What I see is that with
>> Apple's libedit, the response to SIGINT includes this:
>> kill(0, 2)               = 0 0

> https://github.com/NetBSD/src/blob/1de18f216411bce77e26740327b0782976a89965/lib/libedit/sig.c#L110

Ah, I was wondering if that was from upstream libedit or was an
Apple-ism.  Somebody should file a bug.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Dmitry Koterov
Date:
Subject: Re: In MacOS, psql reacts on SIGINT in a strange fashion (Linux is fine)
Next
From: "Imseih (AWS), Sami"
Date:
Subject: Re: allow changing autovacuum_max_workers without restarting