postgresql/src/include/executor
Tom Lane aa83bc04e0 Restructure parsetree representation of DECLARE CURSOR: now it's a
utility statement (DeclareCursorStmt) with a SELECT query dangling from
it, rather than a SELECT query with a few unusual fields in it.  Add
code to determine whether a planned query can safely be run backwards.
If DECLARE CURSOR specifies SCROLL, ensure that the plan can be run
backwards by adding a Materialize plan node if it can't.  Without SCROLL,
you get an error if you try to fetch backwards from a cursor that can't
handle it.  (There is still some discussion about what the exact
behavior should be, but this is necessary infrastructure in any case.)
Along the way, make EXPLAIN DECLARE CURSOR work.
2003-03-10 03:53:52 +00:00
..
execdebug.h Update copyright to 2002. 2002-06-20 20:29:54 +00:00
execdefs.h Update copyright to 2002. 2002-06-20 20:29:54 +00:00
execdesc.h Revise executor APIs so that all per-query state structure is built in 2002-12-15 16:17:59 +00:00
executor.h Restructure parsetree representation of DECLARE CURSOR: now it's a 2003-03-10 03:53:52 +00:00
functions.h Update copyright to 2002. 2002-06-20 20:29:54 +00:00
hashjoin.h Upgrade planner and executor to allow multiple hash keys for a hash join, 2002-11-30 00:08:22 +00:00
instrument.h New pgindent run with fixes suggested by Tom. Patch manually reviewed, 2001-11-05 17:46:40 +00:00
nodeAgg.h Create a new file executor/execGrouping.c to centralize utility routines 2003-01-10 23:54:24 +00:00
nodeAppend.h Phase 1 of read-only-plans project: cause executor state nodes to point 2002-12-05 15:50:39 +00:00
nodeFunctionscan.h Phase 1 of read-only-plans project: cause executor state nodes to point 2002-12-05 15:50:39 +00:00
nodeGroup.h Create a new file executor/execGrouping.c to centralize utility routines 2003-01-10 23:54:24 +00:00
nodeHash.h Create a new file executor/execGrouping.c to centralize utility routines 2003-01-10 23:54:24 +00:00
nodeHashjoin.h Phase 1 of read-only-plans project: cause executor state nodes to point 2002-12-05 15:50:39 +00:00
nodeIndexscan.h Phase 1 of read-only-plans project: cause executor state nodes to point 2002-12-05 15:50:39 +00:00
nodeLimit.h Phase 1 of read-only-plans project: cause executor state nodes to point 2002-12-05 15:50:39 +00:00
nodeMaterial.h Phase 1 of read-only-plans project: cause executor state nodes to point 2002-12-05 15:50:39 +00:00
nodeMergejoin.h Phase 1 of read-only-plans project: cause executor state nodes to point 2002-12-05 15:50:39 +00:00
nodeNestloop.h Phase 1 of read-only-plans project: cause executor state nodes to point 2002-12-05 15:50:39 +00:00
nodeResult.h Phase 1 of read-only-plans project: cause executor state nodes to point 2002-12-05 15:50:39 +00:00
nodeSeqscan.h Phase 1 of read-only-plans project: cause executor state nodes to point 2002-12-05 15:50:39 +00:00
nodeSetOp.h Phase 1 of read-only-plans project: cause executor state nodes to point 2002-12-05 15:50:39 +00:00
nodeSort.h Phase 1 of read-only-plans project: cause executor state nodes to point 2002-12-05 15:50:39 +00:00
nodeSubplan.h Clean up plantree representation of SubPlan-s --- SubLink does not appear 2002-12-14 00:17:59 +00:00
nodeSubqueryscan.h Phase 1 of read-only-plans project: cause executor state nodes to point 2002-12-05 15:50:39 +00:00
nodeTidscan.h Phase 1 of read-only-plans project: cause executor state nodes to point 2002-12-05 15:50:39 +00:00
nodeUnique.h Phase 1 of read-only-plans project: cause executor state nodes to point 2002-12-05 15:50:39 +00:00
spi_priv.h Make SPI's execution of querystrings follow the rules agreed to for 2002-10-14 23:49:20 +00:00
spi.h Restructure parsetree representation of DECLARE CURSOR: now it's a 2003-03-10 03:53:52 +00:00
tuptable.h Update copyright to 2002. 2002-06-20 20:29:54 +00:00