diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-10-01 19:51:50 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-10-01 19:51:50 +0000 |
commit | dad4cb6258382e99409c3e0673f1a5ec5b8bf03f (patch) | |
tree | fc13e11ae4ec12a824befec58c61fe8e5b398197 /src/include/executor/nodeFunctionscan.h | |
parent | 233f135144ffc02512490eaffdb2575284a3af9d (diff) | |
download | postgresql-dad4cb6258382e99409c3e0673f1a5ec5b8bf03f.tar.gz postgresql-dad4cb6258382e99409c3e0673f1a5ec5b8bf03f.zip |
Improve tuplestore.c to support multiple concurrent read positions.
This facility replaces the former mark/restore support but is otherwise
upward-compatible with previous uses. It's expected to be needed for
single evaluation of CTEs and also for window functions, so I'm committing
it separately instead of waiting for either one of those patches to be
finished. Per discussion with Greg Stark and Hitoshi Harada.
Note: I removed nodeFunctionscan's mark/restore support, instead of bothering
to update it for this change, because it was dead code anyway.
Diffstat (limited to 'src/include/executor/nodeFunctionscan.h')
-rw-r--r-- | src/include/executor/nodeFunctionscan.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/include/executor/nodeFunctionscan.h b/src/include/executor/nodeFunctionscan.h index dd499a73c69..d83e9a4f864 100644 --- a/src/include/executor/nodeFunctionscan.h +++ b/src/include/executor/nodeFunctionscan.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/executor/nodeFunctionscan.h,v 1.11 2008/01/01 19:45:57 momjian Exp $ + * $PostgreSQL: pgsql/src/include/executor/nodeFunctionscan.h,v 1.12 2008/10/01 19:51:49 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -20,8 +20,6 @@ extern int ExecCountSlotsFunctionScan(FunctionScan *node); extern FunctionScanState *ExecInitFunctionScan(FunctionScan *node, EState *estate, int eflags); extern TupleTableSlot *ExecFunctionScan(FunctionScanState *node); extern void ExecEndFunctionScan(FunctionScanState *node); -extern void ExecFunctionMarkPos(FunctionScanState *node); -extern void ExecFunctionRestrPos(FunctionScanState *node); extern void ExecFunctionReScan(FunctionScanState *node, ExprContext *exprCtxt); #endif /* NODEFUNCTIONSCAN_H */ |