Use bool with synced field (src/include/replication/slot.h) - Mailing list pgsql-hackers

From Ranier Vilela
Subject Use bool with synced field (src/include/replication/slot.h)
Date
Msg-id CAEudQAoNit6Ngdy33W3og0zgo02_xSn8vsb21eDzH0fCRGt6Tw@mail.gmail.com
Whole thread Raw
Responses Re: Use bool with synced field (src/include/replication/slot.h)
List pgsql-hackers
Hi.

IMO in the struct ReplicationSlotPersistentData, the field
*synced* has wrong type declaration.
The intention was *bool* not *char* type.

Since it is only used in Boolean comparison.

trivial patch attached.

best regards,
Ranier Vilela
Attachment

pgsql-hackers by date:

Previous
From: Alyona Vinter
Date:
Subject: Re: Resetting recovery target parameters in pg_createsubscriber
Next
From: Daniel Gustafsson
Date:
Subject: Re: Serverside SNI support in libpq