From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: walreceiver uses a temporary replication slot by default |
Date: | 2020-01-14 13:57:34 |
Message-ID: | E1irMhK-00021w-9z@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-hackers |
walreceiver uses a temporary replication slot by default
If no permanent replication slot is configured using
primary_slot_name, the walreceiver now creates and uses a temporary
replication slot. A new setting wal_receiver_create_temp_slot can be
used to disable this behavior, for example, if the remote instance is
out of replication slots.
Reviewed-by: Masahiko Sawada <masahiko(dot)sawada(at)2ndquadrant(dot)com>
Discussion: https://www.postgresql.org/message-id/CA%2Bfd4k4dM0iEPLxyVyme2RAFsn8SUgrNtBJOu81YqTY4V%2BnqZA%40mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/329730827848f61eb8d353d5addcbd885fa823da
Modified Files
--------------
doc/src/sgml/config.sgml | 20 +++++++++++
.../libpqwalreceiver/libpqwalreceiver.c | 4 +++
src/backend/replication/walreceiver.c | 41 ++++++++++++++++++++++
src/backend/utils/misc/guc.c | 9 +++++
src/backend/utils/misc/postgresql.conf.sample | 1 +
src/include/replication/walreceiver.h | 7 ++++
6 files changed, 82 insertions(+)
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2020-01-14 15:52:02 | pgsql: tools/copyright.pl: skip copyright changes for *.key files |
Previous Message | Peter Eisentraut | 2020-01-14 12:45:23 | pgsql: ALTER TABLE ... ALTER COLUMN ... DROP EXPRESSION |
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2020-01-14 13:58:23 | Re: base backup client as auxiliary backend process |
Previous Message | Pavel Stehule | 2020-01-14 13:20:17 | Re: [Proposal] Global temporary tables |