OSDN Git Service

Use the standard lock manager to establish priority order when there
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 30 Apr 2005 19:03:33 +0000 (19:03 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 30 Apr 2005 19:03:33 +0000 (19:03 +0000)
commit93b24772782e7518dee2f85366aa7a80a2beb937
tree395c47bdb56cde5a2bd8d55f4909c8b526c0adc7
parent47458f8c2fd97be1637343758223d78fc31f61f8
Use the standard lock manager to establish priority order when there
is contention for a tuple-level lock.  This solves the problem of a
would-be exclusive locker being starved out by an indefinite succession
of share-lockers.  Per recent discussion with Alvaro.
src/backend/access/heap/heapam.c
src/backend/storage/lmgr/lmgr.c
src/include/storage/lmgr.h