From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Merge wal_level "archive" and "hot_standby" into new name "repli |
Date: | 2016-03-18 22:56:58 |
Message-ID: | E1ah3KE-0002wW-FR@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(dot)paquier(at)gmail(dot)com>
Reviewed-by: David Steele <david(at)pgmasters(dot)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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2016-03-19 01:22:19 | pgsql: Convert psql's flex lexer to be re-entrant, and make it compile |
Previous Message | Peter Geoghegan | 2016-03-18 20:22:59 | Re: [COMMITTERS] pgsql: Improve memory management for external sorts. |