postgresql/src/backend/optimizer/path
Tom Lane 9cbd0c155d Remove the Query structure from the executor's API. This allows us to stop
storing mostly-redundant Query trees in prepared statements, portals, etc.
To replace Query, a new node type called PlannedStmt is inserted by the
planner at the top of a completed plan tree; this carries just the fields of
Query that are still needed at runtime.  The statement lists kept in portals
etc. now consist of intermixed PlannedStmt and bare utility-statement nodes
--- no Query.  This incidentally allows us to remove some fields from Query
and Plan nodes that shouldn't have been there in the first place.

Still to do: simplify the execution-time range table; at the moment the
range table passed to the executor still contains Query trees for subqueries.

initdb forced due to change of stored rules.
2007-02-20 17:32:18 +00:00
..
Makefile Refactor planner's pathkeys data structure to create a separate, explicit 2007-01-20 20:45:41 +00:00
allpaths.c Remove the Query structure from the executor's API. This allows us to stop 2007-02-20 17:32:18 +00:00
clausesel.c Get rid of some old and crufty global variables in the planner. When 2007-02-19 07:03:34 +00:00
costsize.c Put back planner's ability to cache the results of mergejoinscansel(), 2007-01-22 20:00:40 +00:00
equivclass.c Put back planner's ability to cache the results of mergejoinscansel(), 2007-01-22 20:00:40 +00:00
indxpath.c Refactor planner's pathkeys data structure to create a separate, explicit 2007-01-20 20:45:41 +00:00
joinpath.c Refactor planner's pathkeys data structure to create a separate, explicit 2007-01-20 20:45:41 +00:00
joinrels.c Restructure code that is responsible for ensuring that clauseless joins are 2007-02-16 00:14:01 +00:00
orindxpath.c Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
pathkeys.c Refactor some lsyscache routines to eliminate duplicate code and save 2007-01-21 00:57:15 +00:00
tidpath.c Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00