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

From Tom Lane
Subject Re: SIGTERM -> elog(FATAL) -> proc_exit() is probably a bad idea
Date
Msg-id 26066.979489311@sss.pgh.pa.us
Whole thread Raw
In response to RE: SIGTERM -> elog(FATAL) -> proc_exit() is probably a bad idea  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
Responses RE: SIGTERM -> elog(FATAL) -> proc_exit() is probably a bad idea
List pgsql-hackers
"Hiroshi Inoue" <Inoue@tpf.co.jp> writes:
> Isn't it appropriate to call a diffrent macro using a separate 
> CriticalSectionCount variable in newly added places ?

Why?  What difference do you see in the nature of the critical sections?
They all look the same to me: hold off cancel/die response.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Len Morgan"
Date:
Subject: Re: pgaccess: russian fonts && SQL window???
Next
From: "Hiroshi Inoue"
Date:
Subject: RE: SIGTERM -> elog(FATAL) -> proc_exit() is probably a bad idea