pgsql: Factor some code out of create_grouping_paths.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Factor some code out of create_grouping_paths.
Date: 2018-01-26 20:05:11
Message-ID: E1efAFL-0005dm-5f@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Factor some code out of create_grouping_paths.

This is preparatory refactoring to prepare the way for partition-wise
aggregate, which will reuse the new subroutines for child grouping
rels. It also does not seem like a bad idea on general principle,
as the function was getting pretty long.

Jeevan Chalke. The larger patch series of which this patch is a part
was reviewed and tested by Antonin Houska, Rajkumar Raghuwanshi,
Ashutosh Bapat, David Rowley, Dilip Kumar, Konstantin Knizhnik,
Pascal Legrand, and me. Some cosmetic changes by me.

Discussion: http://postgr.es/m/CAM2+6=V64_xhstVHie0Rz=KPEQnLJMZt_e314P0jaT_oJ9MR8A@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9fd8b7d632570af90a0b374816f604f59bba11ad

Modified Files
--------------
src/backend/optimizer/plan/planner.c | 1460 ++++++++++++++++++----------------
1 file changed, 772 insertions(+), 688 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2018-01-26 23:25:26 pgsql: Avoid unnecessary use of pg_strcasecmp for already-downcased ide
Previous Message Tom Lane 2018-01-26 17:25:53 pgsql: Remove the obsolete WITH clause of CREATE FUNCTION.