postgresql/src/bin
Amit Kapila 776621a5e4 Add a failover option to subscriptions.
This commit introduces a new subscription option named 'failover', which
provides users with the ability to set the failover property of the
replication slot on the publisher when creating or altering a
subscription.

This uses the replication commands introduced by commit 7329240437 to
enable the failover option for a logical replication slot.

If the failover option is set to true, the associated replication slots
(i.e. the main slot and the table sync slots) in the upstream database are
enabled to be synchronized to the standbys. Note that the capability to
sync the replication slots will be added in subsequent commits.

Thanks to Masahiko Sawada for the design inputs.

Author: Shveta Malik, Hou Zhijie, Ajin Cherian
Reviewed-by: Peter Smith, Bertrand Drouvot, Dilip Kumar, Masahiko Sawada, Nisha Moond, Kuroda Hayato, Amit Kapila
Discussion: https://postgr.es/m/514f6f2f-6833-4539-39f1-96cd1e011f23@enterprisedb.com
2024-01-30 16:49:28 +05:30
..
initdb Restore initdb's old behavior of always setting the lc_xxx GUCs. 2024-01-10 18:09:29 -05:00
pg_amcheck Escape output of pg_amcheck test 2024-01-13 20:32:18 +01:00
pg_archivecleanup Update copyright for 2024 2024-01-03 20:49:05 -05:00
pg_basebackup Repair various defects in dc21234005. 2024-01-11 13:06:10 -05:00
pg_checksums Update copyright for 2024 2024-01-03 20:49:05 -05:00
pg_combinebackup Repair various defects in dc21234005. 2024-01-11 13:06:10 -05:00
pg_config Update copyright for 2024 2024-01-03 20:49:05 -05:00
pg_controldata Update copyright for 2024 2024-01-03 20:49:05 -05:00
pg_ctl pg_ctl: Disable autoruns for cmd.exe on Windows 2024-01-10 10:41:57 +09:00
pg_dump Add a failover option to subscriptions. 2024-01-30 16:49:28 +05:30
pg_resetwal Update copyright for 2024 2024-01-03 20:49:05 -05:00
pg_rewind Update copyright for 2024 2024-01-03 20:49:05 -05:00
pg_test_fsync Update copyright for 2024 2024-01-03 20:49:05 -05:00
pg_test_timing Update copyright for 2024 2024-01-03 20:49:05 -05:00
pg_upgrade Add a failover option to subscriptions. 2024-01-30 16:49:28 +05:30
pg_verifybackup Update copyright for 2024 2024-01-03 20:49:05 -05:00
pg_waldump Update copyright for 2024 2024-01-03 20:49:05 -05:00
pg_walsummary Temporary patch to help debug pg_walsummary test failures. 2024-01-26 13:25:19 -05:00
pgbench pgbench: Add \syncpipeline 2024-01-24 16:55:19 +09:00
pgevent Update copyright for 2024 2024-01-03 20:49:05 -05:00
psql Add a failover option to subscriptions. 2024-01-30 16:49:28 +05:30
scripts Update copyright for 2024 2024-01-03 20:49:05 -05:00
Makefile Add new pg_walsummary tool. 2024-01-11 12:48:27 -05:00
meson.build Add new pg_walsummary tool. 2024-01-11 12:48:27 -05:00