[ Newest version of patch applied.]
Bruce Momjian <bruce@momjian.us>
[ Newest version of patch applied.]
This patch is an updated version of the lock listing patch. I've made
the following changes:
- write documentation
- wrap the SRF in a view called 'pg_locks': all user-level
access should be done through this view
- re-diff against latest CVS
One thing I chose not to do is adapt the SRF to use the anonymous
composite type code from Joe Conway. I'll probably do that eventually,
but I'm not really convinced it's a significantly cleaner way to
bootstrap SRF builtins than the method this patch uses (of course, it
has other uses...)
Neil Conway
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/monitoring.sgml | modified | +129 −1 |
| doc/src/sgml/mvcc.sgml | modified | +10 −2 |
| src/backend/storage/lmgr/lock.c | modified | +61 −1 |
| src/backend/tcop/utility.c | modified | +2 −3 |
| src/backend/utils/adt/Makefile | modified | +2 −2 |
| src/bin/initdb/initdb.sh | modified | +16 −3 |
| src/include/catalog/catversion.h | modified | +2 −2 |
| src/include/catalog/pg_proc.h | modified | +3 −1 |
| src/include/storage/lock.h | modified | +18 −1 |
| src/include/storage/shmem.h | modified | +2 −3 |
| src/test/regress/expected/rules.out | modified | +3 −1 |