pgsql/src backend/storage/ipc/shmqueue.c backe ... - Mailing list pgsql-committers

From Tom Lane
Subject pgsql/src backend/storage/ipc/shmqueue.c backe ...
Date
Msg-id 200101222230.f0MMU7e24634@hub.org
Whole thread Raw
List pgsql-committers
CVSROOT:    /home/projects/pgsql/cvsroot
Module name:    pgsql
Changes by:    tgl@hub.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.)


pgsql-committers by date:

Previous
From: Bruce Momjian - CVS
Date:
Subject: pgsql/doc FAQ src/FAQ/FAQ.html
Next
From: Bruce Momjian - CVS
Date:
Subject: pgsql/doc FAQ_MSWIN src/FAQ/FAQ_MSWIN.html