jitflags in _outPlannedStmt and _readPlannedStmt treated as bool type

Поиск
Список
Период
Сортировка
От Haribabu Kommi
Тема jitflags in _outPlannedStmt and _readPlannedStmt treated as bool type
Дата
Msg-id CAJrrPGedKiFE2fqntSauUfhapCksOJzam+QtHfSgx86LhXLeOQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: jitflags in _outPlannedStmt and _readPlannedStmt treated as bool type  (Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>)
Re: jitflags in _outPlannedStmt and _readPlannedStmt treated as booltype  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
The jitflags in the PlannedStmt structure of type "int", but in _out and
_read functions it is treated as of "bool" type.

WRITE_BOOL_FIELD(jitFlags);
READ_BOOL_FIELD(jitFlags);

I am thinking of it is a copy paste mistake as the other members around the
initflags are of "bool" type or is there any specific reason to treat as "bool" type?

Regards,
Hari Babu
Fujitsu Australia

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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: Format base - Code contribution
Следующее
От: Etsuro Fujita
Дата:
Сообщение: Re: Oddity in tuple routing for foreign partitions