pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Factor some code out of create_grouping_paths.
Date: Fri, 26 Jan 2018 20:05:11 +0000
Message-ID: <E1efAFL-0005dm-5f@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1efAFL-0005dm-5f@gemulon.postgresql.org>
Permalink:  ../E1efAFL-0005dm-5f@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1efAFL-0005dm-5f@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: rhaas@postgresql.org
  Subject: Re: pgsql: Factor some code out of create_grouping_paths.
  In-Reply-To: <E1efAFL-0005dm-5f@gemulon.postgresql.org>
  References: <E1efAFL-0005dm-5f@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox