From f9e4f611a18f64fd9106a72ec9af9e2220075780 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 12 May 2002 20:10:05 +0000 Subject: First pass at set-returning-functions in FROM, by Joe Conway with some kibitzing from Tom Lane. Not everything works yet, and there's no documentation or regression test, but let's commit this so Joe doesn't need to cope with tracking changes in so many files ... --- src/include/executor/nodeFunctionscan.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/include/executor/nodeFunctionscan.h (limited to 'src/include/executor/nodeFunctionscan.h') diff --git a/src/include/executor/nodeFunctionscan.h b/src/include/executor/nodeFunctionscan.h new file mode 100644 index 00000000000..4decbfe6b5e --- /dev/null +++ b/src/include/executor/nodeFunctionscan.h @@ -0,0 +1,27 @@ +/*------------------------------------------------------------------------- + * + * nodeFunctionscan.h + * + * + * + * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group + * Portions Copyright (c) 1994, Regents of the University of California + * + * $Id: nodeFunctionscan.h,v 1.1 2002/05/12 20:10:04 tgl Exp $ + * + *------------------------------------------------------------------------- + */ +#ifndef NODEFUNCTIONSCAN_H +#define NODEFUNCTIONSCAN_H + +#include "nodes/plannodes.h" + +extern TupleTableSlot *ExecFunctionScan(FunctionScan *node); +extern void ExecEndFunctionScan(FunctionScan *node); +extern bool ExecInitFunctionScan(FunctionScan *node, EState *estate, Plan *parent); +extern int ExecCountSlotsFunctionScan(FunctionScan *node); +extern void ExecFunctionMarkPos(FunctionScan *node); +extern void ExecFunctionRestrPos(FunctionScan *node); +extern void ExecFunctionReScan(FunctionScan *node, ExprContext *exprCtxt, Plan *parent); + +#endif /* NODEFUNCTIONSCAN_H */ -- cgit v1.2.3