jitflags in _outPlannedStmt and _readPlannedStmt treated as bool type

Haribabu Kommi <kommi.haribabu@gmail.com>

From: Haribabu Kommi <kommi.haribabu@gmail.com>
To: Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2018-04-26T03:34:44Z
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

Commits

  1. Fix incorrect field type for PlannedStmt.jitFlags in outfuncs/readfuncs.