jitflags in _outPlannedStmt and _readPlannedStmt treated as bool type - Mailing list pgsql-hackers

From Haribabu Kommi
Subject jitflags in _outPlannedStmt and _readPlannedStmt treated as bool type
Date
Msg-id CAJrrPGedKiFE2fqntSauUfhapCksOJzam+QtHfSgx86LhXLeOQ@mail.gmail.com
Whole thread Raw
Responses 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>)
List 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 by date:

Previous
From: Craig Ringer
Date:
Subject: Re: Format base - Code contribution
Next
From: Etsuro Fujita
Date:
Subject: Re: Oddity in tuple routing for foreign partitions