2011-02-20 00:17:18 -05:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
|
*
|
|
|
|
|
* nodeForeignscan.h
|
|
|
|
|
*
|
|
|
|
|
*
|
|
|
|
|
*
|
2017-01-03 13:48:53 -05:00
|
|
|
* Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group
|
2011-02-20 00:17:18 -05:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
|
|
|
*
|
|
|
|
|
* src/include/executor/nodeForeignscan.h
|
|
|
|
|
*
|
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
|
*/
|
|
|
|
|
#ifndef NODEFOREIGNSCAN_H
|
|
|
|
|
#define NODEFOREIGNSCAN_H
|
|
|
|
|
|
2016-02-03 12:46:18 -05:00
|
|
|
#include "access/parallel.h"
|
2011-02-20 00:17:18 -05:00
|
|
|
#include "nodes/execnodes.h"
|
|
|
|
|
|
|
|
|
|
extern ForeignScanState *ExecInitForeignScan(ForeignScan *node, EState *estate, int eflags);
|
|
|
|
|
extern TupleTableSlot *ExecForeignScan(ForeignScanState *node);
|
|
|
|
|
extern void ExecEndForeignScan(ForeignScanState *node);
|
|
|
|
|
extern void ExecReScanForeignScan(ForeignScanState *node);
|
|
|
|
|
|
2016-02-03 12:46:18 -05:00
|
|
|
extern void ExecForeignScanEstimate(ForeignScanState *node,
|
2016-06-09 18:02:36 -04:00
|
|
|
ParallelContext *pcxt);
|
2016-02-03 12:46:18 -05:00
|
|
|
extern void ExecForeignScanInitializeDSM(ForeignScanState *node,
|
2016-06-09 18:02:36 -04:00
|
|
|
ParallelContext *pcxt);
|
2016-02-03 12:46:18 -05:00
|
|
|
extern void ExecForeignScanInitializeWorker(ForeignScanState *node,
|
2016-06-09 18:02:36 -04:00
|
|
|
shm_toc *toc);
|
2017-02-26 03:06:49 -05:00
|
|
|
extern void ExecShutdownForeignScan(ForeignScanState *node);
|
2016-02-03 12:46:18 -05:00
|
|
|
|
2011-02-20 00:17:18 -05:00
|
|
|
#endif /* NODEFOREIGNSCAN_H */
|