pgsql: Determine grouping strategies in create_grouping_paths.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Determine grouping strategies in create_grouping_paths.
Date: 2018-03-20 15:33:05
Message-ID: E1eyJG5-0005aw-UX@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Determine grouping strategies in create_grouping_paths.

Partition-wise aggregate will call create_ordinary_grouping_paths
multiple times and we don't want to redo this work every time; have
the caller do it instead and pass the details down.

Patch by me, reviewed by Ashutosh Bapat.

Discussion: http://postgr.es/m/CA+TgmoY7VYYn9a7YHj1nJL6zj6BkHmt4K-un9LRmXkyqRZyynA@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b5996c2791f36a79332e3cb7130e9125a0372730

Modified Files
--------------
src/backend/optimizer/plan/planner.c | 142 ++++++++++++++++++++---------------
1 file changed, 82 insertions(+), 60 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2018-03-20 15:34:40 pgsql: Doc: typo fix, "PG_" should be "TG_" here.
Previous Message Robert Haas 2018-03-20 15:22:45 pgsql: Defer creation of partially-grouped relation until it's needed.