Merge wal_level "archive" and "hot_standby" into new name "replica"
Peter Eisentraut <peter_e@gmx.net>
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>
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/backup.sgml | modified | +2 −2 |
| doc/src/sgml/config.sgml | modified | +12 −18 |
| doc/src/sgml/high-availability.sgml | modified | +1 −1 |
| doc/src/sgml/ref/alter_system.sgml | modified | +1 −1 |
| doc/src/sgml/ref/pgupgrade.sgml | modified | +1 −1 |
| src/backend/access/rmgrdesc/xlogdesc.c | modified | +3 −2 |
| src/backend/access/transam/xact.c | modified | +1 −1 |
| src/backend/access/transam/xlog.c | modified | +9 −11 |
| src/backend/access/transam/xlogfuncs.c | modified | +1 −1 |
| src/backend/postmaster/postmaster.c | modified | +1 −1 |
| src/backend/replication/slot.c | modified | +1 −1 |
| src/backend/utils/misc/postgresql.conf.sample | modified | +1 −1 |
| src/bin/pg_basebackup/t/010_pg_basebackup.pl | modified | +1 −1 |
| src/bin/pg_controldata/pg_controldata.c | modified | +2 −4 |
| src/include/access/xlog.h | modified | +5 −6 |
| src/include/catalog/pg_control.h | modified | +1 −1 |
| src/test/perl/PostgresNode.pm | modified | +1 −1 |