Re: Singnals code (not just win32 specific) - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Singnals code (not just win32 specific)
Date
Msg-id 12376.1074786813@sss.pgh.pa.us
Whole thread Raw
In response to Re: Singnals code (not just win32 specific)  (Jan Wieck <JanWieck@Yahoo.com>)
List pgsql-hackers
Jan Wieck <JanWieck@Yahoo.com> writes:
> While talking about it, I think our usage of signals is way overloaded
> anyway. Any ideas how to replace it all with just one signal and a
> regular message queue?

Fooling with the definitions of SIGTERM, SIGINT, SIGQUIT would be a
really bad idea, since we have to behave reasonably when those signals
are sent to us by code not under our control.  Unix system shutdown
pretty much forces our SIGTERM behavior, for example.

Everything else pretty much already is funneled through SIGUSR1 and
SIGUSR2.

            regards, tom lane

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: cache control?
Next
From: Tom Lane
Date:
Subject: Re: Bunch o' dead code in GEQO