Which signal to use for CANCEL from postmaster to backend? - Mailing list pgsql-hackers

From Tom Lane
Subject Which signal to use for CANCEL from postmaster to backend?
Date
Msg-id 8176.899763529@sss.pgh.pa.us
Whole thread Raw
Responses Re: [HACKERS] Which signal to use for CANCEL from postmaster to backend?  (Bruce Momjian <maillist@candle.pha.pa.us>)
List pgsql-hackers
Hmm.  I find that SIGUSR1 and SIGUSR2 are both already in use for
communication between backends.  We can't really commandeer SIGURG,
either, because it's apparently the same as SIGUSR1 on SCO
(see src/include/port/sco.h ... so OOB wouldn't work there anyway!).

All three of SIGINT, SIGHUP, SIGTERM currently do the same thing in a
backend, so it looks like our best choice is to redefine one of those
as the cancel request signal.  Any preference?

            regards, tom lane

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: New s_lock.h fails on HPUX with gcc
Next
From: The Hermit Hacker
Date:
Subject: Re: Need your comments/help