2011-02-20 06:17:18 +01:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
|
|
|
* nodeForeignscan.h
|
|
|
|
*
|
|
|
|
*
|
|
|
|
*
|
2016-01-02 19:33:40 +01:00
|
|
|
* Portions Copyright (c) 1996-2016, PostgreSQL Global Development Group
|
2011-02-20 06:17:18 +01: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 18:46:18 +01:00
|
|
|
#include "access/parallel.h"
|
2011-02-20 06:17:18 +01: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 18:46:18 +01:00
|
|
|
extern void ExecForeignScanEstimate(ForeignScanState *node,
|
2016-06-10 00:02:36 +02:00
|
|
|
ParallelContext *pcxt);
|
2016-02-03 18:46:18 +01:00
|
|
|
extern void ExecForeignScanInitializeDSM(ForeignScanState *node,
|
2016-06-10 00:02:36 +02:00
|
|
|
ParallelContext *pcxt);
|
2016-02-03 18:46:18 +01:00
|
|
|
extern void ExecForeignScanInitializeWorker(ForeignScanState *node,
|
2016-06-10 00:02:36 +02:00
|
|
|
shm_toc *toc);
|
2016-02-03 18:46:18 +01:00
|
|
|
|
2011-02-20 06:17:18 +01:00
|
|
|
#endif /* NODEFOREIGNSCAN_H */
|