]> granicus.if.org Git - postgresql/commit
Code review for statement_timeout patch. Fix some race conditions
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 31 Oct 2002 21:34:17 +0000 (21:34 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 31 Oct 2002 21:34:17 +0000 (21:34 +0000)
commit55e4ef138cc68cffd12df9fc9e5587590473a074
tree7f9e2f9a8c791d9f9659f132969a092501c3b143
parent8a45a2e9b6c352061910c5f8a56caf6751ca2f2c
Code review for statement_timeout patch.  Fix some race conditions
between signal handler and enable/disable code, avoid accumulation of
timing error due to trying to maintain remaining-time instead of
absolute-end-time, disable timeout before commit not after.
src/backend/storage/lmgr/README
src/backend/storage/lmgr/lock.c
src/backend/storage/lmgr/proc.c
src/backend/tcop/postgres.c
src/backend/utils/misc/guc.c
src/include/storage/proc.h