postgresql/contrib/test_decoding
Amit Kapila c393308b69 Allow to enable failover property for replication slots via SQL API.
This commit adds the failover property to the replication slot. The
failover property indicates whether the slot will be synced to the standby
servers, enabling the resumption of corresponding logical replication
after failover. But note that this commit does not yet include the
capability to sync the replication slot; the subsequent commits will add
that capability.

A new optional parameter 'failover' is added to the
pg_create_logical_replication_slot() function. We will also enable to set
'failover' option for slots via the subscription commands in the
subsequent commits.

The value of the 'failover' flag is displayed as part of
pg_replication_slots view.

Author: Hou Zhijie, Shveta Malik, 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-25 12:15:46 +05:30
..
expected Allow to enable failover property for replication slots via SQL API. 2024-01-25 12:15:46 +05:30
specs Remove incidental md5() function uses from several tests 2023-07-04 14:31:57 +02:00
sql Allow to enable failover property for replication slots via SQL API. 2024-01-25 12:15:46 +05:30
t Update copyright for 2024 2024-01-03 20:49:05 -05:00
.gitignore Improve isolation tests infrastructure. 2017-03-14 15:56:17 -07:00
Makefile Fix catalog lookup with the wrong snapshot during logical decoding. 2022-08-11 10:09:24 +05:30
logical.conf Stabilize streaming tests in test_decoding. 2022-04-20 08:59:55 +05:30
meson.build Update copyright for 2024 2024-01-03 20:49:05 -05:00
test_decoding.c Update copyright for 2024 2024-01-03 20:49:05 -05:00