Fix intermittent BF failure in 040_standby_failover_slots_sync.

Amit Kapila <akapila@postgresql.org>

Commit: b47c50e5667b489bec3affb55ecdf4e9c306ca2d
Author: Amit Kapila <akapila@postgresql.org>
Date: 2025-12-18T05:06:55Z
Fix intermittent BF failure in 040_standby_failover_slots_sync.

Commit 0d2d4a0ec3 introduced a test that verifies replication slot
synchronization to a standby server via SQL API. However, the test did not
configure synchronized_standby_slots. Without this setting, logical
failover slots can advance beyond the physical replication slot, causing
intermittent synchronization failures.

Author: Hou Zhijie <houzj.fnst@fujitsu.com>
Discussion: https://postgr.es/m/TY4PR01MB16907DF70205308BE918E0D4494ABA@TY4PR01MB16907.jpnprd01.prod.outlook.com

Files

Discussion