diff options
author | Vadim B. Mikheev <vadim4o@yahoo.com> | 2001-01-09 06:24:33 +0000 |
---|---|---|
committer | Vadim B. Mikheev <vadim4o@yahoo.com> | 2001-01-09 06:24:33 +0000 |
commit | 4b59366e57f9d1741231eeda222cfa4e82ad67ee (patch) | |
tree | c95736c54d3a68100316d42405003cc5d29d3ab1 /src/backend/utils/misc/guc.c | |
parent | 329001a2ffec8f6098d3ca18a48bdfd3767c848c (diff) |
1. Checkpoint.undo may be after checkpoint itself:
- no more elog(STOP) in StartupXLOG();
- both checkpoint' undo & redo are used to define
oldest on-line log file.
2. Ability to pre-allocate a few log files at checkpoint time
(wal_files option). Off by default.
Diffstat (limited to 'src/backend/utils/misc/guc.c')
-rw-r--r-- | src/backend/utils/misc/guc.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c index 6b9b50416e3..9c23f731776 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.26 2000/12/03 14:36:46 petere Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.27 2001/01/09 06:24:33 vadim Exp $ * * Copyright 2000 by PostgreSQL Global Development Group * Written by Peter Eisentraut <peter_e@gmx.net>. @@ -38,6 +38,7 @@ extern bool Log_connections; extern int CheckPointTimeout; extern int XLOGbuffers; +extern int XLOGfiles; extern int XLOG_DEBUG; extern int CommitDelay; @@ -274,6 +275,9 @@ ConfigureNamesInt[] = {"wal_buffers", PGC_POSTMASTER, &XLOGbuffers, 8, 4, INT_MAX}, + {"wal_files", PGC_POSTMASTER, &XLOGfiles, + 0, 0, 64}, + {"wal_debug", PGC_SUSET, &XLOG_DEBUG, 0, 0, 16}, |