jitflags in _outPlannedStmt and _readPlannedStmt treated as bool type

From: Haribabu Kommi <kommi(dot)haribabu(at)gmail(dot)com>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: jitflags in _outPlannedStmt and _readPlannedStmt treated as bool type
Date: 2018-04-26 03:34:44
Message-ID: CAJrrPGedKiFE2fqntSauUfhapCksOJzam+QtHfSgx86LhXLeOQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Etsuro Fujita 2018-04-26 03:41:13 Re: Oddity in tuple routing for foreign partitions
Previous Message Craig Ringer 2018-04-26 03:03:55 Re: Format base - Code contribution