Code review for log_lock_waits patch. Don't try to issue log messages from
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 19 Jun 2007 20:13:22 +0000 (20:13 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 19 Jun 2007 20:13:22 +0000 (20:13 +0000)
commit6e07228728e51bf875ecc9669f63ed648aba88c9
tree52d514109f71ad5281d8787d8ae04db4858c2e51
parent4c310eca2eabce72e7346af4a539ed066cbabe3e
Code review for log_lock_waits patch.  Don't try to issue log messages from
within a signal handler (this might be safe given the relatively narrow code
range in which the interrupt is enabled, but it seems awfully risky); do issue
more informative log messages that tell what is being waited for and the exact
length of the wait; minor other code cleanup.  Greg Stark and Tom Lane
doc/src/sgml/config.sgml
src/backend/storage/lmgr/deadlock.c
src/backend/storage/lmgr/lmgr.c
src/backend/storage/lmgr/proc.c
src/backend/utils/misc/guc.c
src/include/storage/lmgr.h
src/include/storage/lock.h