diff options
| author | Robert Haas <rhaas@postgresql.org> | 2010-04-20 11:15:06 +0000 |
|---|---|---|
| committer | Robert Haas <rhaas@postgresql.org> | 2010-04-20 11:15:06 +0000 |
| commit | 481cb5d9b506069a6fbe2a7069b576e8eb2f2cde (patch) | |
| tree | 13d7bf638613462df52f11a0b26b8faef28547fc /src/backend/utils | |
| parent | c670410e7fe59dffb0227ed1dd0f532013993859 (diff) | |
| download | postgresql-481cb5d9b506069a6fbe2a7069b576e8eb2f2cde.tar.gz | |
Rename standby_keep_segments to wal_keep_segments.
Also, make the name of the GUC and the name of the backing variable match.
Alnong the way, clean up a couple of slight typographical errors in the
related docs.
Diffstat (limited to 'src/backend/utils')
| -rw-r--r-- | src/backend/utils/misc/guc.c | 6 | ||||
| -rw-r--r-- | src/backend/utils/misc/postgresql.conf.sample | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c index 04ee99ac30..15ca9c1b22 100644 --- a/src/backend/utils/misc/guc.c +++ b/src/backend/utils/misc/guc.c @@ -10,7 +10,7 @@ * Written by Peter Eisentraut <peter_e@gmx.net>. * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.548 2010/04/19 00:55:25 rhaas Exp $ + * $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.549 2010/04/20 11:15:06 rhaas Exp $ * *-------------------------------------------------------------------- */ @@ -1656,11 +1656,11 @@ static struct config_int ConfigureNamesInt[] = }, { - {"standby_keep_segments", PGC_SIGHUP, WAL_CHECKPOINTS, + {"wal_keep_segments", PGC_SIGHUP, WAL_CHECKPOINTS, gettext_noop("Sets the number of WAL files held for standby servers"), NULL }, - &StandbySegments, + &wal_keep_segments, 0, 0, INT_MAX, NULL, NULL }, diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample index c3f985a2d3..92763eb523 100644 --- a/src/backend/utils/misc/postgresql.conf.sample +++ b/src/backend/utils/misc/postgresql.conf.sample @@ -193,7 +193,7 @@ #max_wal_senders = 0 # max number of walsender processes #wal_sender_delay = 200ms # 1-10000 milliseconds -#standby_keep_segments = 0 # in logfile segments, 16MB each; 0 disables +#wal_keep_segments = 0 # in logfile segments, 16MB each; 0 disables #------------------------------------------------------------------------------ |
