diff --git a/src/backend/nodes/copyfuncs.c b/src/backend/nodes/copyfuncs.c index 0b265b2410e..cff6a21665f 100644 --- a/src/backend/nodes/copyfuncs.c +++ b/src/backend/nodes/copyfuncs.c @@ -5452,6 +5452,19 @@ _copyGraphDelElem(const GraphDelElem *from) return newnode; } +static GraphVLE * +_copyGraphVLE(const GraphVLE *from) +{ + GraphVLE *newnode = makeNode(GraphVLE); + + CopyPlanFields((const Plan *) from, (Plan *) newnode); + + COPY_NODE_FIELD(subplan); + COPY_NODE_FIELD(vle_rel); + + return newnode; +} + /* **************************************************************** * extensible.h copy functions * **************************************************************** @@ -6563,6 +6576,9 @@ copyObjectImpl(const void *from) case T_GraphDelElem: retval = _copyGraphDelElem(from); break; + case T_GraphVLE: + retval = _copyGraphVLE(from); + break; /* * MISCELLANEOUS NODES