> 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

Tue, 16 Jan 2001 13:22:26 -0800
"Mikheev, Vadim" <vmikheev@SECTORBASE.COM>
RE: SIGTERM -> elog(FATAL) -> proc_exit() is probably a
	 bad idea
"Mikheev, Vadim" <vmikheev@SECTORBASE.COM> writes:
> HOLD_INTERRUPTS
> RESUME_INTERRUPTS
> BEGIN_CRIT_SECTION
> END_CRIT_SECTION

Works for me...

			regards, tom lane

Tue, 16 Jan 2001 17:28:29 -0500
Tom Lane <tgl@sss.pgh.pa.us>
Re: SIGTERM -> elog(FATAL) -> proc_exit() is probably a bad idea 