git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 71b0cf2) | patch
Remove the Query structure from the executor's API. This allows us to stop
2007年2月20日 17:32:18 +0000 (17:32 +0000)
2007年2月20日 17:32:18 +0000 (17:32 +0000)
commit 9cbd0c155d1602aad879f510256b626c58942080
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.
39 files changed:
src/backend/commands/copy.c diff | blob | blame | history
src/backend/commands/explain.c diff | blob | blame | history
src/backend/commands/portalcmds.c diff | blob | blame | history
src/backend/commands/prepare.c diff | blob | blame | history
src/backend/executor/execMain.c diff | blob | blame | history
src/backend/executor/execUtils.c diff | blob | blame | history
src/backend/executor/functions.c diff | blob | blame | history
src/backend/executor/spi.c diff | blob | blame | history
src/backend/nodes/copyfuncs.c diff | blob | blame | history
src/backend/nodes/equalfuncs.c diff | blob | blame | history
src/backend/nodes/outfuncs.c diff | blob | blame | history
src/backend/nodes/readfuncs.c diff | blob | blame | history
src/backend/optimizer/path/allpaths.c diff | blob | blame | history
src/backend/optimizer/plan/planagg.c diff | blob | blame | history
src/backend/optimizer/plan/planner.c diff | blob | blame | history
src/backend/parser/analyze.c diff | blob | blame | history
src/backend/parser/gram.y diff | blob | blame | history
src/backend/tcop/postgres.c diff | blob | blame | history
src/backend/tcop/pquery.c diff | blob | blame | history
src/backend/tcop/utility.c diff | blob | blame | history
src/backend/utils/mmgr/portalmem.c diff | blob | blame | history
src/include/catalog/catversion.h diff | blob | blame | history
src/include/commands/portalcmds.h diff | blob | blame | history
src/include/commands/prepare.h diff | blob | blame | history
src/include/executor/execdesc.h diff | blob | blame | history
src/include/executor/executor.h diff | blob | blame | history
src/include/executor/spi_priv.h diff | blob | blame | history
src/include/nodes/execnodes.h diff | blob | blame | history
src/include/nodes/nodes.h diff | blob | blame | history
src/include/nodes/parsenodes.h diff | blob | blame | history
src/include/nodes/plannodes.h diff | blob | blame | history
src/include/nodes/primnodes.h diff | blob | blame | history
src/include/nodes/relation.h diff | blob | blame | history
src/include/optimizer/planner.h diff | blob | blame | history
src/include/tcop/pquery.h diff | blob | blame | history
src/include/tcop/tcopprot.h diff | blob | blame | history
src/include/tcop/utility.h diff | blob | blame | history
src/include/utils/portal.h diff | blob | blame | history
src/pl/plpgsql/src/pl_exec.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /