Handle SIGTERM in fe_utils/cancel.c - Mailing list pgsql-hackers

From Tristan Partin
Subject Handle SIGTERM in fe_utils/cancel.c
Date
Msg-id CSSZDYRQQB7H.3SYPR0BMR3Q74@c3po
Whole thread Raw
Responses Re: Handle SIGTERM in fe_utils/cancel.c
List pgsql-hackers
Hello,

This is a way that would solve bug #17698[1]. It just reuses the same
handler as SIGINT (with a function rename).

This patch works best if it is combined with my previous submission[2].
I can rebase that submission if and when this patch is pulled in.

[1]: https://www.postgresql.org/message-id/17698-58a6ab8caec496b0%40postgresql.org
[2]: https://www.postgresql.org/message-id/CSSWBAX56CVY.291H6ZNNHK7EO%40c3po

--
Tristan Partin
Neon (https://neon.tech)

Attachment

pgsql-hackers by date:

Previous
From: Matthias van de Meent
Date:
Subject: Re: RFI: Extending the TOAST Pointer
Next
From: "Tristan Partin"
Date:
Subject: Re: Make pgbench exit on SIGINT more reliably