OSDN Git Service

Code review for pg_locks feature. Make shmemoffset of PROCLOCK structs
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 31 Aug 2002 17:14:28 +0000 (17:14 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 31 Aug 2002 17:14:28 +0000 (17:14 +0000)
commit1bab464eb40ceb96a9dedbf11393b7b51c55ec0a
treed662624f62c2609e74e7dddf36fce0006ca8bd9d
parent642fd38e42451dc2ccef8c785f4e608738f43561
Code review for pg_locks feature.  Make shmemoffset of PROCLOCK structs
available (else there's no way to interpret the list links).  Change
pg_locks view to show transaction ID locks separately from ordinary
relation locks.  Avoid showing N duplicate rows when the same lock is
held multiple times (seems unlikely that users care about exact hold
count).  Improve documentation.
doc/src/sgml/monitoring.sgml
src/backend/storage/lmgr/lock.c
src/backend/utils/adt/lockfuncs.c
src/bin/initdb/initdb.sh
src/include/catalog/catversion.h
src/include/storage/lock.h
src/test/regress/expected/rules.out