postgresql/src/backend/optimizer/path
Tom Lane 6b289942bf Redesign PlanForeignScan API to allow multiple paths for a foreign table.
The original API specification only allowed an FDW to create a single
access path, which doesn't seem like a terribly good idea in hindsight.
Instead, move the responsibility for building the Path node and calling
add_path() into the FDW's PlanForeignScan function.  Now, it can do that
more than once if appropriate.  There is no longer any need for the
transient FdwPlan struct, so get rid of that.

Etsuro Fujita, Shigeru Hanada, Tom Lane
2012-03-05 16:15:59 -05:00
..
Makefile Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
allpaths.c Redesign PlanForeignScan API to allow multiple paths for a foreign table. 2012-03-05 16:15:59 -05:00
clausesel.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
costsize.c Use parameterized paths to generate inner indexscans more flexibly. 2012-01-27 19:26:38 -05:00
equivclass.c Allow child-relation entries to be made in ec_has_const EquivalenceClasses. 2012-03-02 14:29:07 -05:00
indxpath.c Fix thinko in new match_join_clauses_to_index() logic. 2012-02-28 18:10:40 -05:00
joinpath.c Use parameterized paths to generate inner indexscans more flexibly. 2012-01-27 19:26:38 -05:00
joinrels.c Use parameterized paths to generate inner indexscans more flexibly. 2012-01-27 19:26:38 -05:00
orindxpath.c Use parameterized paths to generate inner indexscans more flexibly. 2012-01-27 19:26:38 -05:00
pathkeys.c Use parameterized paths to generate inner indexscans more flexibly. 2012-01-27 19:26:38 -05:00
tidpath.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00