pgsql: Some preliminary refactoring towards partitionwise join.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Some preliminary refactoring towards partitionwise join.
Date: 2017-03-14 23:32:45
Message-ID: E1cnvvp-00070i-9i@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Some preliminary refactoring towards partitionwise join.

Partitionwise join proposes add a concept of child join relations,
which will have the same relationship with join relations as "other
member" relations do with base relations. These relations will need
some but not all of the handling that we currently have for join
relations, and some but not all of the handling that we currently have
for appendrels, since they are a mix of the two. Refactor a little
bit so that the necessary bits of logic are exposed as separate
functions.

Ashutosh Bapat, reviewed and tested by Rajkumar Raghuwanshi and
by me.

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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/c44c47a773bd9073012935a29b0264d95920412c

Modified Files
--------------
src/backend/optimizer/path/allpaths.c | 52 ++++++++++---
src/backend/optimizer/path/joinrels.c | 28 ++++++-
src/backend/optimizer/util/relnode.c | 142 ++++++++++++++++++++--------------
3 files changed, 149 insertions(+), 73 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2017-03-15 00:06:41 pgsql: Improve grammar / fix typos in snapbuild.c.
Previous Message Andres Freund 2017-03-14 23:10:19 pgsql: Improve isolation tests infrastructure.