]> granicus.if.org Git - postgresql/commit
Merge wal_level "archive" and "hot_standby" into new name "replica"
authorPeter Eisentraut <peter_e@gmx.net>
Tue, 1 Mar 2016 01:01:54 +0000 (20:01 -0500)
committerPeter Eisentraut <peter_e@gmx.net>
Fri, 18 Mar 2016 22:56:03 +0000 (23:56 +0100)
commitb555ed8102672cfedb06559952b8341756386d69
tree6e3174c6e0bcd2faee09307092ecdca5dd0169b9
parent4e1d2a170836028370675922ea9a690648d3c18d
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>
17 files changed:
doc/src/sgml/backup.sgml
doc/src/sgml/config.sgml
doc/src/sgml/high-availability.sgml
doc/src/sgml/ref/alter_system.sgml
doc/src/sgml/ref/pgupgrade.sgml
src/backend/access/rmgrdesc/xlogdesc.c
src/backend/access/transam/xact.c
src/backend/access/transam/xlog.c
src/backend/access/transam/xlogfuncs.c
src/backend/postmaster/postmaster.c
src/backend/replication/slot.c
src/backend/utils/misc/postgresql.conf.sample
src/bin/pg_basebackup/t/010_pg_basebackup.pl
src/bin/pg_controldata/pg_controldata.c
src/include/access/xlog.h
src/include/catalog/pg_control.h
src/test/perl/PostgresNode.pm