pgsql: Change default values for backup and replication parameters

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Change default values for backup and replication parameters
Date: 2017-01-14 16:18:22
Message-ID: E1cSR26-0002BY-9K@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Change default values for backup and replication parameters

This changes the default values of the following parameters:

wal_level = replica
max_wal_senders = 10
max_replication_slots = 10

in order to make it possible to make a backup and set up simple
replication on the default settings, without requiring a system restart.

Discussion: https://postgr.es/m/CABUevEy4PR_EAvZEzsbF5s+V0eEvw7shJ2t-AUwbHOjT+yRb3A@mail.gmail.com

Reviewed by Peter Eisentraut. Benchmark help from Tomas Vondra.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/f6d6d2920d2cddc4b381cbbf2915db9d985d20a9

Modified Files
--------------
doc/src/sgml/backup.sgml | 3 ++-
doc/src/sgml/config.sgml | 16 ++++++++--------
src/backend/utils/misc/guc.c | 6 +++---
src/backend/utils/misc/postgresql.conf.sample | 6 +++---
src/test/modules/commit_ts/t/002_standby.pl | 1 -
src/test/modules/commit_ts/t/003_standby_2.pl | 1 -
src/test/perl/PostgresNode.pm | 6 +++++-
src/test/recovery/t/006_logical_decoding.pl | 1 -
src/test/recovery/t/008_fsm_truncation.pl | 1 -
9 files changed, 21 insertions(+), 20 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2017-01-14 18:28:12 pgsql: Throw suitable error for COPY TO STDOUT/FROM STDIN in a SQL func
Previous Message Peter Eisentraut 2017-01-14 14:18:32 pgsql: pg_ctl: Change default to wait for all actions