postgresql/src/backend/tcop
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 Remove remains of old depend target. 2007-01-20 17:16:17 +00:00
dest.c Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
fastpath.c Update CVS HEAD for 2007 copyright. Back branches are typically not 2007-01-05 22:20:05 +00:00
postgres.c Remove the Query structure from the executor's API. This allows us to stop 2007-02-20 17:32:18 +00:00
pquery.c Remove the Query structure from the executor's API. This allows us to stop 2007-02-20 17:32:18 +00:00
utility.c Remove the Query structure from the executor's API. This allows us to stop 2007-02-20 17:32:18 +00:00