Re: Handle SIGTERM in fe_utils/cancel.c

2023-05-30 Thread Tristan Partin
On Tue May 23, 2023 at 7:51 PM CDT, Michael Paquier wrote: > On Mon, May 22, 2023 at 12:26:34PM -0500, Tristan Partin wrote: > > 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 wit

Re: Handle SIGTERM in fe_utils/cancel.c

2023-05-23 Thread Michael Paquier
On Mon, May 22, 2023 at 12:26:34PM -0500, Tristan Partin wrote: > 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 wh

Handle SIGTERM in fe_utils/cancel.c

2023-05-22 Thread Tristan Partin
Subject: [PATCH postgres v1] Handle SIGTERM in fe_utils/cancel.c This is the same handling as SIGINT. This issue was originally reported in https://www.postgresql.org/message-id/17698-58a6ab8caec496b0%40postgresql.org. --- src/fe_utils/cancel.c | 7 --- 1 file changed, 4 insertions(+), 3