pgsql/src backend/storage/ipc/shmqueue.c backe ...

From: Tom Lane <tgl(at)hub(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src backend/storage/ipc/shmqueue.c backe ...
Date: 2001-01-22 22:30:07
Message-ID: 200101222230.f0MMU7e24634@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /home/projects/pgsql/cvsroot
Module name: pgsql
Changes by: tgl(at)hub(dot)org 01/01/22 17:30:06

Modified files:
src/backend/storage/ipc: shmqueue.c
src/backend/storage/lmgr: lock.c proc.c README
src/include/storage: lock.h proc.h shmem.h

Log message:
Clean up lockmanager data structures some more, in preparation for planned
rewrite of deadlock checking. Lock holder objects are now reachable from
the associated LOCK as well as from the owning PROC. This makes it
practical to find all the processes holding a lock, as well as all those
waiting on the lock. Also, clean up some of the grottier aspects of the
SHMQueue API, and cause the waitProcs list to be stored in the intuitive
direction instead of the nonintuitive one. (Bet you didn't know that
the code followed the 'prev' link to get to the next waiting process,
instead of the 'next' link. It doesn't do that anymore.)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian - CVS 2001-01-22 22:54:07 pgsql/doc FAQ_MSWIN src/FAQ/FAQ_MSWIN.html
Previous Message Bruce Momjian - CVS 2001-01-22 17:20:12 pgsql/doc FAQ src/FAQ/FAQ.html