On Fri, Jan 8, 2021 at 8:25 PM vignesh C <vignesh21@gmail.com> wrote:
>
>
> Few includes are not required:
> #include "executor/nodeGather.h"
> +#include "executor/nodeModifyTable.h"
> #include "executor/nodeSubplan.h"
> #include "executor/tqueue.h"
> #include "miscadmin.h"
> @@ -60,6 +61,7 @@ ExecInitGather(Gather *node, EState *estate, int eflags)
> GatherState *gatherstate;
> Plan *outerNode;
> TupleDesc tupDesc;
> + Index varno;
>
> This include is not required in nodeModifyTable.c
>
I think you meant nodeGather.c (not nodeModifyTable.c).
However, the include file (executor/nodeModifyTable.h) is actually
required here, otherwise there are build warnings.
Regards,
Greg Nancarrow
Fujitsu Australia