aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/dbsize.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-08-28 03:23:44 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-08-28 03:23:44 +0000
commit24d4517b3b98ad02a47cde09976fcdfd25778fc5 (patch)
tree24780c7b0dd35d16358e4f81c2fb87b540ed786e /src/backend/utils/adt/dbsize.c
parentbaf3a134d9f2184907914acae0361154a0e63424 (diff)
downloadpostgresql-24d4517b3b98ad02a47cde09976fcdfd25778fc5.tar.gz
postgresql-24d4517b3b98ad02a47cde09976fcdfd25778fc5.zip
Improve behavior of log_lock_waits patch. Ensure that something gets logged
even if the "deadlock detected" ERROR message is suppressed by an exception catcher. Be clearer about the event sequence when a soft deadlock is fixed: the fixing process might or might not still have to wait, so log that separately. Fix race condition when someone releases us from the lock partway through printing all this junk --- we'd not get confused about our state, but the log message sequence could have been misleading, ie, a "still waiting" message with no subsequent "acquired" message. Greg Stark and Tom Lane.
Diffstat (limited to 'src/backend/utils/adt/dbsize.c')
0 files changed, 0 insertions, 0 deletions