Commit 405cb356 authored by Heikki Linnakangas's avatar Heikki Linnakangas

Fix comment.

This comment was copy-pasted from nodeAppend.c to nodeMergeAppend.c, but
while committing 5220bb75, I modified wrong copy of it.

Spotted by David Rowley
parent 5220bb75
......@@ -151,7 +151,7 @@ ExecInitAppend(Append *node, EState *estate, int eflags)
/*
* The case where no subplans survive pruning must be handled
* specially. The problem here is that code in explain.c requires
* a MergeAppend to have at least one subplan in order for it to
* an Append to have at least one subplan in order for it to
* properly determine the Vars in that subplan's targetlist. We
* sidestep this issue by just initializing the first subplan and
* setting as_whichplan to NO_MATCHING_SUBPLANS to indicate that
......
......@@ -111,7 +111,7 @@ ExecInitMergeAppend(MergeAppend *node, EState *estate, int eflags)
/*
* The case where no subplans survive pruning must be handled
* specially. The problem here is that code in explain.c requires
* an Append to have at least one subplan in order for it to
* a MergeAppend to have at least one subplan in order for it to
* properly determine the Vars in that subplan's targetlist. We
* sidestep this issue by just initializing the first subplan and
* setting ms_noopscan to true to indicate that we don't really
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment