Add missing "return" statement to accumulate_append_subpath.

Robert Haas <rhaas@postgresql.org>

Commit: 2fd58096f02777c38edb392f78cb5b4ebd90e9d2
Author: Robert Haas <rhaas@postgresql.org>
Date: 2018-01-10T16:21:20Z
Releases: 11.0
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

Files

PathChange+/−
src/backend/optimizer/path/allpaths.c modified +1 −0

Discussion