From: Nathan Bossart Date: Tue, 2 Sep 2025 21:53:54 +0000 (-0500) Subject: Change ReplicationSlotPersistentData's "synced" member to a bool. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=510777a2d56b5de5f55d3e995c0d0242eb630eb1;p=thirdparty%2Fpostgresql.git Change ReplicationSlotPersistentData's "synced" member to a bool. Note that this doesn't require bumping SLOT_VERSION because we require sizeof(bool) == 1, thanks to commit 97525bc5c8. Overight in commit ddd5f4f54a. Discussion: Ranier Vilela --- diff --git a/src/include/replication/slot.h b/src/include/replication/slot.h index e8fc342d1a9..fe62162cde3 100644 --- a/src/include/replication/slot.h +++ b/src/include/replication/slot.h @@ -134,7 +134,7 @@ typedef struct ReplicationSlotPersistentData /* * Was this slot synchronized from the primary server? */ - char synced; + bool synced; /* * Is this a failover slot (sync candidate for standbys)? Only relevant