Make test_replica_promote.py pass at pg17

This commit is contained in:
Konstantin Knizhnik
2025-05-18 17:31:00 +03:00
parent d7cecc485c
commit a5d45bceed
4 changed files with 4 additions and 9 deletions

View File

@@ -434,6 +434,7 @@ pub fn empty_shmem() -> crate::bindings::WalproposerShmemState {
donor_conninfo: [0; 1024],
donor_lsn: 0,
mutex: 0,
bgw_started: false,
mineLastElectedTerm: crate::bindings::pg_atomic_uint64 { value: 0 },
backpressureThrottlingTime: crate::bindings::pg_atomic_uint64 { value: 0 },
currentClusterSize: crate::bindings::pg_atomic_uint64 { value: 0 },