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: Split create_grouping_paths into degenerate and non-degenerate c
Date: Thu, 15 Mar 2018 18:46:23 +0000
Message-ID: <E1ewXtP-0002On-Gd@gemulon.postgresql.org> (raw)

Split create_grouping_paths into degenerate and non-degenerate cases.

There's no functional change here, or at least I hope there isn't,
just code rearrangement.  The rearrangement is motivated by
partition-wise aggregate, which doesn't need to consider the
degenerate case but wants to reuse the logic for the ordinary case.

Based loosely on a patch from Ashutosh Bapat and Jeevan Chalke, but I
whacked it around pretty heavily. The larger patch series of which
this patch is a part was also reviewed and tested by Antonin Houska,
Rajkumar Raghuwanshi, David Rowley, Dilip Kumar, Konstantin Knizhnik,
Pascal Legrand, Rafia Sabih, and me.

Discussion: http://postgr.es/m/CAFjFpRewpqCmVkwvq6qrRjmbMDpN0CZvRRzjd8UvncczA3Oz1Q@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1466bcfa4a83ba88b55cfcebb99080800627613a

Modified Files
--------------
src/backend/optimizer/plan/planner.c | 186 +++++++++++++++++++++--------------
1 file changed, 114 insertions(+), 72 deletions(-)



Message-ID: <E1ewXtP-0002On-Gd@gemulon.postgresql.org>
Permalink:  ../E1ewXtP-0002On-Gd@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ewXtP-0002On-Gd@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: Split create_grouping_paths into degenerate and non-degenerate c
  In-Reply-To: <E1ewXtP-0002On-Gd@gemulon.postgresql.org>
  References: <E1ewXtP-0002On-Gd@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