Use bool with synced field (src/include/replication/slot.h)

Поиск
Список
Период
Сортировка
От Ranier Vilela
Тема Use bool with synced field (src/include/replication/slot.h)
Дата
Msg-id CAEudQAoNit6Ngdy33W3og0zgo02_xSn8vsb21eDzH0fCRGt6Tw@mail.gmail.com
обсуждение исходный текст
Ответы Re: Use bool with synced field (src/include/replication/slot.h)
Список 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
Вложения

В списке pgsql-hackers по дате отправления: