]> granicus.if.org Git - postgresql/commit
Redefine create_upper_paths_hook as being invoked once per upper relation.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 12 Apr 2016 19:23:14 +0000 (15:23 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 12 Apr 2016 19:23:14 +0000 (15:23 -0400)
commitf1f01de145d0aaca80e6cf8b2ccb7e7f4ed1ad02
tree8dce0baf20ce16f6ac6def671c6df9b4acc67782
parent7a5f8b5c59033ac153963f98b9109be9529a824a
Redefine create_upper_paths_hook as being invoked once per upper relation.

Per discussion, this gives potential users of the hook more flexibility,
because they can build custom Paths that implement only one stage of
upper processing atop core-provided Paths for earlier stages.
src/backend/optimizer/plan/planner.c
src/backend/optimizer/prep/prepunion.c
src/include/optimizer/planner.h