pg_recvlogical: Add --failover option.
authorMasahiko Sawada <[email protected]>
Fri, 4 Apr 2025 17:39:57 +0000 (10:39 -0700)
committerMasahiko Sawada <[email protected]>
Fri, 4 Apr 2025 17:39:57 +0000 (10:39 -0700)
commitcf2655a9029aff63dd567dbbdcdee15ec969905d
treef44b8d2018d11e917f59a04f6d122455de9ada95
parent3556c89321e8baa2242288bd4f015efd1e9d6be0
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
doc/src/sgml/ref/pg_recvlogical.sgml
src/bin/pg_basebackup/pg_basebackup.c
src/bin/pg_basebackup/pg_receivewal.c
src/bin/pg_basebackup/pg_recvlogical.c
src/bin/pg_basebackup/streamutil.c
src/bin/pg_basebackup/streamutil.h
src/bin/pg_basebackup/t/030_pg_recvlogical.pl