OSDN Git Service

Portal and memory management infrastructure for extended query protocol.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 2 May 2003 20:54:36 +0000 (20:54 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 2 May 2003 20:54:36 +0000 (20:54 +0000)
commitde28dc9a04c4df5d711815b7a518501b43535a26
tree1b93363ece14ded804195ff4a1c754a9b4a32306
parent1940434f1ef8475c8b59bb8ff03e3f3a10cac6ae
Portal and memory management infrastructure for extended query protocol.
Both plannable queries and utility commands are now always executed
within Portals, which have been revamped so that they can handle the
load (they used to be good only for single SELECT queries).  Restructure
code to push command-completion-tag selection logic out of postgres.c,
so that it won't have to be duplicated between simple and extended queries.
initdb forced due to addition of a field to Query nodes.
33 files changed:
contrib/intagg/int_aggregate.c
doc/src/sgml/ref/postgres-ref.sgml
src/backend/access/transam/xact.c
src/backend/commands/cluster.c
src/backend/commands/indexcmds.c
src/backend/commands/portalcmds.c
src/backend/commands/prepare.c
src/backend/commands/vacuum.c
src/backend/executor/execQual.c
src/backend/executor/spi.c
src/backend/executor/tstoreReceiver.c
src/backend/nodes/copyfuncs.c
src/backend/nodes/equalfuncs.c
src/backend/nodes/outfuncs.c
src/backend/nodes/readfuncs.c
src/backend/optimizer/geqo/geqo_eval.c
src/backend/parser/analyze.c
src/backend/rewrite/rewriteHandler.c
src/backend/tcop/fastpath.c
src/backend/tcop/postgres.c
src/backend/tcop/pquery.c
src/backend/tcop/utility.c
src/backend/utils/mmgr/mcxt.c
src/backend/utils/mmgr/portalmem.c
src/include/catalog/catversion.h
src/include/commands/portalcmds.h
src/include/executor/spi_priv.h
src/include/nodes/parsenodes.h
src/include/tcop/pquery.h
src/include/tcop/tcopprot.h
src/include/tcop/utility.h
src/include/utils/memutils.h
src/include/utils/portal.h