aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/misc/guc.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2002-10-31 21:34:17 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2002-10-31 21:34:17 +0000
commit55e4ef138cc68cffd12df9fc9e5587590473a074 (patch)
tree7f9e2f9a8c791d9f9659f132969a092501c3b143 /src/backend/utils/misc/guc.c
parent8a45a2e9b6c352061910c5f8a56caf6751ca2f2c (diff)
downloadpostgresql-55e4ef138cc68cffd12df9fc9e5587590473a074.tar.gz
postgresql-55e4ef138cc68cffd12df9fc9e5587590473a074.zip
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.
Diffstat (limited to 'src/backend/utils/misc/guc.c')
-rw-r--r--src/backend/utils/misc/guc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c
index 2e386afab15..c4e3f53042b 100644
--- a/src/backend/utils/misc/guc.c
+++ b/src/backend/utils/misc/guc.c
@@ -5,7 +5,7 @@
* command, configuration file, and command line options.
* See src/backend/utils/misc/README for more information.
*
- * $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.97 2002/10/02 16:27:57 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.98 2002/10/31 21:34:17 tgl Exp $
*
* Copyright 2000 by PostgreSQL Global Development Group
* Written by Peter Eisentraut <peter_e@gmx.net>.
@@ -56,7 +56,6 @@
extern bool Log_connections;
extern int PreAuthDelay;
extern int AuthenticationTimeout;
-extern int StatementTimeout;
extern int CheckPointTimeout;
extern bool autocommit;
extern int CommitDelay;