pgsql: Merge wal_level "archive" and "hot_standby" into new name "repli - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Merge wal_level "archive" and "hot_standby" into new name "repli
Date
Msg-id E1ah3KE-0002wW-FR@gemulon.postgresql.org
Whole thread Raw
List pgsql-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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Decouple psqlscan.l from surrounding program.
Next
From: Tom Lane
Date:
Subject: pgsql: Convert psql's flex lexer to be re-entrant, and make it compile