summaryrefslogtreecommitdiff
path: root/src/backend/utils/misc/guc.c
diff options
context:
space:
mode:
authorVadim B. Mikheev <vadim4o@yahoo.com>2000-11-30 01:47:33 +0000
committerVadim B. Mikheev <vadim4o@yahoo.com>2000-11-30 01:47:33 +0000
commit741510521caea7e1ca12b4db0701bbc2db346a5f (patch)
treed26b28fc9215dd82b038f9c3d51925a6e7e65e1f /src/backend/utils/misc/guc.c
parent680b7357ce850c28d06997be793aee18f72434ba (diff)
XLOG stuff for sequences.
CommitDelay in guc.c
Diffstat (limited to 'src/backend/utils/misc/guc.c')
-rw-r--r--src/backend/utils/misc/guc.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c
index 398fb25bf68..046c304e24d 100644
--- a/src/backend/utils/misc/guc.c
+++ b/src/backend/utils/misc/guc.c
@@ -4,7 +4,7 @@
* Support for grand unified configuration scheme, including SET
* command, configuration file, and command line options.
*
- * $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.24 2000/11/29 20:59:53 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.25 2000/11/30 01:47:32 vadim Exp $
*
* Copyright 2000 by PostgreSQL Global Development Group
* Written by Peter Eisentraut <peter_e@gmx.net>.
@@ -39,6 +39,8 @@ extern bool Log_connections;
extern int CheckPointTimeout;
extern int XLOGbuffers;
extern int XLOG_DEBUG;
+extern int CommitDelay;
+
#ifdef ENABLE_SYSLOG
extern char *Syslog_facility;
extern char *Syslog_ident;
@@ -266,15 +268,18 @@ ConfigureNamesInt[] =
{"unix_socket_permissions", PGC_POSTMASTER, &Unix_socket_permissions,
0777, 0000, 0777},
- {"checkpoint_timeout", PGC_POSTMASTER, &CheckPointTimeout,
+ {"checkpoint_timeout", PGC_POSTMASTER, &CheckPointTimeout,
300, 30, 1800},
- {"wal_buffers", PGC_POSTMASTER, &XLOGbuffers,
+ {"wal_buffers", PGC_POSTMASTER, &XLOGbuffers,
8, 4, INT_MAX},
- {"wal_debug", PGC_POSTMASTER, &XLOG_DEBUG,
+ {"wal_debug", PGC_SUSET, &XLOG_DEBUG,
0, 0, 16},
+ {"commit_delay", PGC_USERSET, &CommitDelay,
+ 5, 0, 1000},
+
{NULL, 0, NULL, 0, 0, 0}
};