diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2006-06-08 23:55:48 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2006-06-08 23:55:48 +0000 |
commit | 1358466a8c918f14f48ea60d60db96ae7eba5045 (patch) | |
tree | 28e6e889c53f65063228c1f5736ca91415901549 /src/backend/executor/execProcnode.c | |
parent | e4725e35be7b36ae3c21c6f5d94bb3fb4afede67 (diff) | |
download | postgresql-1358466a8c918f14f48ea60d60db96ae7eba5045.tar.gz postgresql-1358466a8c918f14f48ea60d60db96ae7eba5045.zip |
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.
Diffstat (limited to 'src/backend/executor/execProcnode.c')
0 files changed, 0 insertions, 0 deletions