pg_recvlogical: Add --failover option.
Masahiko Sawada <msawada@postgresql.org>
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.hayato@fujitsu.com> Reviewed-by: Michael Banck <mbanck@gmx.net> Reviewed-by: Masahiko Sawada <sawada.mshk@gmail.com> Discussion: https://postgr.es/m/OSCPR01MB14966C54097FC83AF19F3516BF5AC2@OSCPR01MB14966.jpnprd01.prod.outlook.com
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/pg_recvlogical.sgml | modified | +12 −2 |
| src/bin/pg_basebackup/pg_basebackup.c | modified | +2 −1 |
| src/bin/pg_basebackup/pg_receivewal.c | modified | +1 −1 |
| src/bin/pg_basebackup/pg_recvlogical.c | modified | +23 −5 |
| src/bin/pg_basebackup/streamutil.c | modified | +6 −1 |
| src/bin/pg_basebackup/streamutil.h | modified | +2 −1 |
| src/bin/pg_basebackup/t/030_pg_recvlogical.pl | modified | +15 −0 |
Documentation touched
Discussion
- pg_recvlogical cannot create slots with failover=true 17 messages · 2025-04-01 → 2025-06-30