Re: common signal handler protection

From: Nathan Bossart <nathandbossart(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Cc: andres(at)anarazel(dot)de, noah(at)leadboat(dot)com
Subject: Re: common signal handler protection
Date: 2023-11-22 21:59:44
Message-ID: 20231122215944.GA3797360@nathanxps13
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Tue, Nov 21, 2023 at 04:40:06PM -0600, Nathan Bossart wrote:
> cfbot seems unhappy with this on Windows. IIUC we need to use
> PG_SIGNAL_COUNT there instead, but I'd like to find a way to have just one
> macro for all platforms.

Here's an attempt at fixing the Windows build.

Nathan Bossart
Amazon Web Services:

Attachment Content-Type Size
v2-0001-Check-that-MyProcPid-getpid-in-all-signal-handler.patch text/x-diff 4.1 KB
v2-0002-Centralize-logic-for-restoring-errno-in-signal-ha.patch text/x-diff 10.2 KB
v2-0003-Revert-Avoid-calling-proc_exit-in-processes-forke.patch text/x-diff 4.7 KB

In response to


Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Smith 2023-11-22 22:32:32 Re: Stop the search once replication origin is found
Previous Message Tristan Partin 2023-11-22 21:29:45 Re: psql not responding to SIGINT upon db reconnection