diff options
| author | Peter Eisentraut | 2016-03-01 01:01:54 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2016-03-18 22:56:03 +0000 |
| commit | b555ed8102672cfedb06559952b8341756386d69 (patch) | |
| tree | 6e3174c6e0bcd2faee09307092ecdca5dd0169b9 /src/test/perl | |
| parent | 4e1d2a170836028370675922ea9a690648d3c18d (diff) | |
Merge wal_level "archive" and "hot_standby" into new name "replica"
The distinction between "archive" and "hot_standby" existed only because
at the time "hot_standby" was added, there was some uncertainty about
stability. This is now a long time ago. We would like to move forward
with simplifying the replication configuration, but this distinction is
in the way, because a primary server cannot tell (without asking a
standby or predicting the future) which one of these would be the
appropriate level.
Pick a new name for the combined setting to make it clearer that it
covers all (non-logical) backup and replication uses. The old values
are still accepted but are converted internally.
Reviewed-by: Michael Paquier <michael.paquier@gmail.com>
Reviewed-by: David Steele <david@pgmasters.net>
Diffstat (limited to 'src/test/perl')
| -rw-r--r-- | src/test/perl/PostgresNode.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/perl/PostgresNode.pm b/src/test/perl/PostgresNode.pm index 090d48c4067..1eedd19c8a8 100644 --- a/src/test/perl/PostgresNode.pm +++ b/src/test/perl/PostgresNode.pm @@ -404,7 +404,7 @@ sub init if ($params{allows_streaming}) { - print $conf "wal_level = hot_standby\n"; + print $conf "wal_level = replica\n"; print $conf "max_wal_senders = 5\n"; print $conf "wal_keep_segments = 20\n"; print $conf "max_wal_size = 128MB\n"; |
