2002-05-12 16:10:05 -04:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
|
*
|
|
|
|
|
* nodeFunctionscan.h
|
|
|
|
|
*
|
|
|
|
|
*
|
|
|
|
|
*
|
2003-08-03 22:40:20 -04:00
|
|
|
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
|
2002-05-12 16:10:05 -04:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
|
|
|
*
|
2003-11-29 17:41:33 -05:00
|
|
|
* $PostgreSQL: pgsql/src/include/executor/nodeFunctionscan.h,v 1.5 2003/11/29 22:41:01 pgsql Exp $
|
2002-05-12 16:10:05 -04:00
|
|
|
*
|
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
|
*/
|
|
|
|
|
#ifndef NODEFUNCTIONSCAN_H
|
|
|
|
|
#define NODEFUNCTIONSCAN_H
|
|
|
|
|
|
2002-12-05 10:50:39 -05:00
|
|
|
#include "nodes/execnodes.h"
|
2002-05-12 16:10:05 -04:00
|
|
|
|
|
|
|
|
extern int ExecCountSlotsFunctionScan(FunctionScan *node);
|
2002-12-05 10:50:39 -05:00
|
|
|
extern FunctionScanState *ExecInitFunctionScan(FunctionScan *node, EState *estate);
|
|
|
|
|
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);
|
2002-05-12 16:10:05 -04:00
|
|
|
|
|
|
|
|
#endif /* NODEFUNCTIONSCAN_H */
|