Skip to content

Commit 2fd5809

Browse files
committed
Add missing "return" statement to accumulate_append_subpath.
Without this, Parallel Append can end up with extra children. Report by Rajkumar Raghuwanshi. Fix by Amit Khandekar. Brown paper bag bug by me. Discussion: http://postgr.es/m/CAKcux6mBF-NiddyEe9LwymoUC5+wh8bQJ=uk2gGkOE+L8cv=LA@mail.gmail.com
1 parent b3617cd commit 2fd5809

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/backend/optimizer/path/allpaths.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1926,6 +1926,7 @@ accumulate_append_subpath(Path *path, List **subpaths, List **special_subpaths)
19261926
apath->first_partial_path);
19271927
*special_subpaths = list_concat(*special_subpaths,
19281928
new_special_subpaths);
1929+
return;
19291930
}
19301931
}
19311932
else if (IsA(path, MergeAppendPath))

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