From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-committers@postgresql.org
Subject: pgsql: Merge wal_level "archive" and "hot_standby" into new name "repli
Date: Fri, 18 Mar 2016 22:56:58 +0000
Message-ID: <E1ah3KE-0002wW-FR@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
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>
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/b555ed8102672cfedb06559952b8341756386d69
Modified Files
--------------
doc/src/sgml/backup.sgml | 4 ++--
doc/src/sgml/config.sgml | 30 +++++++++++----------------
doc/src/sgml/high-availability.sgml | 2 +-
doc/src/sgml/ref/alter_system.sgml | 2 +-
doc/src/sgml/ref/pgupgrade.sgml | 2 +-
src/backend/access/rmgrdesc/xlogdesc.c | 5 +++--
src/backend/access/transam/xact.c | 2 +-
src/backend/access/transam/xlog.c | 20 ++++++++----------
src/backend/access/transam/xlogfuncs.c | 2 +-
src/backend/postmaster/postmaster.c | 2 +-
src/backend/replication/slot.c | 2 +-
src/backend/utils/misc/postgresql.conf.sample | 2 +-
src/bin/pg_basebackup/t/010_pg_basebackup.pl | 2 +-
src/bin/pg_controldata/pg_controldata.c | 6 ++----
src/include/access/xlog.h | 11 +++++-----
src/include/catalog/pg_control.h | 2 +-
src/test/perl/PostgresNode.pm | 2 +-
17 files changed, 44 insertions(+), 54 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: peter_e@gmx.net
Subject: Re: pgsql: Merge wal_level "archive" and "hot_standby" into new name "repli
In-Reply-To: <E1ah3KE-0002wW-FR@gemulon.postgresql.org>
References: <E1ah3KE-0002wW-FR@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox