]> granicus.if.org Git - postgresql/commit
Some preliminary refactoring towards partitionwise join.
authorRobert Haas <rhaas@postgresql.org>
Tue, 14 Mar 2017 22:20:17 +0000 (18:20 -0400)
committerRobert Haas <rhaas@postgresql.org>
Tue, 14 Mar 2017 23:25:47 +0000 (19:25 -0400)
commitc44c47a773bd9073012935a29b0264d95920412c
tree5a682d84ed6173fb379f7b1b4e26e91e0740d277
parent60f826c5e62446d211e15ae31710562a26afc442
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
src/backend/optimizer/path/allpaths.c
src/backend/optimizer/path/joinrels.c
src/backend/optimizer/util/relnode.c