Re: Proposal for Signal Detection Refactoring - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Proposal for Signal Detection Refactoring
Date
Msg-id 20180925224118.GA1659@paquier.xyz
Whole thread Raw
In response to Re: Proposal for Signal Detection Refactoring  (Andres Freund <andres@anarazel.de>)
Responses Re: Proposal for Signal Detection Refactoring  (Chris Travers <chris.travers@adjust.com>)
List pgsql-hackers
On Mon, Sep 24, 2018 at 09:27:35PM -0700, Andres Freund wrote:
> On 2018-09-25 11:50:47 +0900, Michael Paquier wrote:
>> PGDLLIMPORT changes don't get back-patched as well...
>
> We've been more aggressive with that lately, and I think that's good. It
> just is a unnecessarily portability barrier for extension to be
> judicious in applying that.

Agreed.  Are there any objections with the proposal of changing the
interruption pending flags in miscadmin.h to use sig_atomic_t?
ClientConnectionLost would gain PGDLLIMPORT at the same time.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Slotification of partition tuple conversion
Next
From: Michael Paquier
Date:
Subject: Re: Allowing printf("%m") only where it actually works