Re: jitflags in _outPlannedStmt and _readPlannedStmt treated as bool type

Поиск
Список
Период
Сортировка
От Ashutosh Bapat
Тема Re: jitflags in _outPlannedStmt and _readPlannedStmt treated as bool type
Дата
Msg-id CAFjFpRdG4QrYhnpKJvvJhp6ThrfUm9Bej1mk5TqaA1n6Bx5TiQ@mail.gmail.com
обсуждение исходный текст
Ответ на jitflags in _outPlannedStmt and _readPlannedStmt treated as bool type  (Haribabu Kommi <kommi.haribabu@gmail.com>)
Ответы Re: jitflags in _outPlannedStmt and _readPlannedStmt treated as booltype  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On Thu, Apr 26, 2018 at 9:04 AM, Haribabu Kommi
<kommi.haribabu@gmail.com> wrote:
> 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?

No, I don't see any. Here's patch for the same.

-- 
Best Wishes,
Ashutosh Bapat
EnterpriseDB Corporation
The Postgres Database Company

Вложения

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

Предыдущее
От: Ashutosh Bapat
Дата:
Сообщение: Re: WIP: a way forward on bootstrap data
Следующее
От: Amit Langote
Дата:
Сообщение: Re: minor fix for acquire_inherited_sample_rows