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 8F4C99C66D04D4118F580090272A7A234D3286@sectorbase1.sectorbase.com
Whole thread Raw
Responses Re: SIGTERM -> elog(FATAL) -> proc_exit() is probably a bad idea  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> I'll take care of fixing what I broke, but does anyone have 
> suggestions for good names for the two concepts? The best I could
> come up with offhand is BEGIN/END_CRIT_SECTION

HOLD_INTERRUPTS
RESUME_INTERRUPTS

> and BEGIN/END_SUPER_CRIT_SECTION, but I'm not pleased with that...

BEGIN_CRIT_SECTION
END_CRIT_SECTION

- as it was -:)

Vadim


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [GENERAL] Re: INIT DB FAILURE
Next
From: Tom Lane
Date:
Subject: DeadLockCheck is buggy