postgresql/src/backend/bootstrap
Tom Lane 03c1be0663 Fix bootstrap.c so that database startup process and bgwriter properly release
LWLocks during a panic exit.  This avoids the possible self-deadlock pointed
out by Qingqing Zhou.  Also, I noted that an error during LoadFreeSpaceMap()
or BuildFlatFiles() would result in exit(0) which would leave the postmaster
thinking all is well.  Added a critical section to ensure such errors don't
allow startup to proceed.

Backpatched to 8.1.  The 8.0 code is a bit different and I'm not sure if the
problem exists there; given we've not seen this reported from the field, I'm
going to be conservative about backpatching any further.
2006-06-08 23:55:54 +00:00
..
.cvsignore Add .cvsignore so cvs update doesn't complain about derived 2000-01-17 04:38:49 +00:00
bootparse.y Arrange for indexes and toast tables to inherit their ownership from 2005-08-26 03:08:15 +00:00
bootscanner.l Clean up the rather historically encumbered interface to now() and 2005-06-29 22:51:57 +00:00
bootstrap.c Fix bootstrap.c so that database startup process and bgwriter properly release 2006-06-08 23:55:54 +00:00
Makefile $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00