Skip to content

Commit 405cb35

Browse files
committed
Fix comment.
This comment was copy-pasted from nodeAppend.c to nodeMergeAppend.c, but while committing 5220bb7, I modified wrong copy of it. Spotted by David Rowley
1 parent 5220bb7 commit 405cb35

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/backend/executor/nodeAppend.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ ExecInitAppend(Append *node, EState *estate, int eflags)
151151
/*
152152
* The case where no subplans survive pruning must be handled
153153
* specially. The problem here is that code in explain.c requires
154-
* a MergeAppend to have at least one subplan in order for it to
154+
* an Append to have at least one subplan in order for it to
155155
* properly determine the Vars in that subplan's targetlist. We
156156
* sidestep this issue by just initializing the first subplan and
157157
* setting as_whichplan to NO_MATCHING_SUBPLANS to indicate that

src/backend/executor/nodeMergeAppend.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ ExecInitMergeAppend(MergeAppend *node, EState *estate, int eflags)
111111
/*
112112
* The case where no subplans survive pruning must be handled
113113
* specially. The problem here is that code in explain.c requires
114-
* an Append to have at least one subplan in order for it to
114+
* a MergeAppend to have at least one subplan in order for it to
115115
* properly determine the Vars in that subplan's targetlist. We
116116
* sidestep this issue by just initializing the first subplan and
117117
* setting ms_noopscan to true to indicate that we don't really

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy