Factor out lock cleanup code that is needed in several places in lock.c.
Also, remove the rather useless return value of LockReleaseAll. Change
response to detection of corruption in the shared lock tables to PANIC,
since that is the only way of cleaning up fully.
Originally an idea of Heikki Linnakangas, variously hacked on by
Alvaro Herrera and Tom Lane.
user_locks.c (r1.16 -> r1.17)
lock.c (r1.151 -> r1.152)
lock.h (r1.85 -> r1.86)
pgsql-committers by date
|Next:||From: Tom Lane||Date: 2005-05-19 23:57:12|
|Subject: pgsql: Update comment that I missed the first time around.|
|Previous:||From: Alvaro Herrera||Date: 2005-05-19 22:46:33|
|Subject: Re: pgsql: Split the shared-memory array of PGPROC pointers out of the|