public inbox for [email protected]  
help / color / mirror / Atom feed
From: Masahiko Sawada <[email protected]>
To: [email protected]
Subject: pgsql: pg_recvlogical: Add --failover option.
Date: Fri, 04 Apr 2025 17:40:27 +0000
Message-ID: <[email protected]> (raw)

pg_recvlogical: Add --failover option.

This new option instructs pg_recvlogical to create the logical
replication slot with the failover option enabled. It can be used in
conjunction with the --create-slot option.

Author: Hayato Kuroda <[email protected]>
Reviewed-by: Michael Banck <[email protected]>
Reviewed-by: Masahiko Sawada <[email protected]>
Discussion: https://postgr.es/m/OSCPR01MB14966C54097FC83AF19F3516BF5AC2@OSCPR01MB14966.jpnprd01.prod.outlook.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/cf2655a9029aff63dd567dbbdcdee15ec969905d

Modified Files
--------------
doc/src/sgml/ref/pg_recvlogical.sgml          | 14 ++++++++++++--
src/bin/pg_basebackup/pg_basebackup.c         |  3 ++-
src/bin/pg_basebackup/pg_receivewal.c         |  2 +-
src/bin/pg_basebackup/pg_recvlogical.c        | 28 ++++++++++++++++++++++-----
src/bin/pg_basebackup/streamutil.c            |  7 ++++++-
src/bin/pg_basebackup/streamutil.h            |  3 ++-
src/bin/pg_basebackup/t/030_pg_recvlogical.pl | 15 ++++++++++++++
7 files changed, 61 insertions(+), 11 deletions(-)



reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: pgsql: pg_recvlogical: Add --failover option.
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox