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 <kuroda.hay...@fujitsu.com>
Reviewed-by: Michael Banck <mba...@gmx.net>
Reviewed-by: Masahiko Sawada <sawada.m...@gmail.com>
Discussion: 
https://postgr.es/m/oscpr01mb14966c54097fc83af19f3516bf5...@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 via email to