pgsql: Add missing "return" statement to accumulate_append_subpath.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add missing "return" statement to accumulate_append_subpath.
Date: 2018-01-10 16:24:28
Message-ID: E1eZJAy-0003Ui-NQ@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2fd58096f02777c38edb392f78cb5b4ebd90e9d2

Modified Files
--------------
src/backend/optimizer/path/allpaths.c | 1 +
1 file changed, 1 insertion(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2018-01-10 20:51:03 pgsql: Remove dubious micro-optimization in ckpt_buforder_comparator().
Previous Message Peter Eisentraut 2018-01-10 15:23:21 pgsql: Move portal pinning from PL/pgSQL to SPI