Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a2dec37

Browse files
committed
Remove misleading comment from pathnodes.h.
As of commit e5253fd, it is no longer true that the leader always executes the subplan of a Gather Merge node. Remove comment to that effect. Back-patch to 11. Discussion: https://postgr.es/m/CA%2BhUKGJEaZJYezXAOutuiWT%2BfxCA44%2BoKtVPAND2ubLiigR%3D-w%40mail.gmail.com
1 parent ccfcc8f commit a2dec37

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/include/nodes/pathnodes.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1465,8 +1465,7 @@ typedef struct GatherPath
14651465

14661466
/*
14671467
* GatherMergePath runs several copies of a plan in parallel and collects
1468-
* the results, preserving their common sort order. For gather merge, the
1469-
* parallel leader always executes the plan too, so we don't need single_copy.
1468+
* the results, preserving their common sort order.
14701469
*/
14711470
typedef struct GatherMergePath
14721471
{

0 commit comments

Comments
 (0)