RE: SIGTERM -> elog(FATAL) -> proc_exit() is probably a bad idea - Mailing list pgsql-hackers

From Mikheev, Vadim
Subject RE: SIGTERM -> elog(FATAL) -> proc_exit() is probably a bad idea
Date
Msg-id 8F4C99C66D04D4118F580090272A7A234D3275@sectorbase1.sectorbase.com
Whole thread Raw
Responses RE: SIGTERM -> elog(FATAL) -> proc_exit() is probably a bad idea
Re: SIGTERM -> elog(FATAL) -> proc_exit() is probably a bad idea
List pgsql-hackers
> I think we'd be lots better off to abandon the notion that we can exit
> directly from the SIGTERM interrupt handler, and instead treat SIGTERM
> the same way we treat QueryCancel: set a flag that is inspected at
> specific places where we know we are in a good state.
> 
> Comments?

This will be much cleaner.

Vadim


pgsql-hackers by date:

Previous
From: "Larry Rosenman"
Date:
Subject: RE: CVS updates on committers list...
Next
From: Bruce Momjian
Date:
Subject: Re: CVS updates on committers list...