codekingpro/portable-devtools
115k
1/*-------------------------------------------------------------------------2 *3 * nodeForeignscan.h4 *5 *6 *7 * Portions Copyright (c) 1996-2023, PostgreSQL Global Development Group8 * Portions Copyright (c) 1994, Regents of the University of California9 *10 * src/include/executor/nodeForeignscan.h11 *12 *-------------------------------------------------------------------------13 */14#ifndef NODEFOREIGNSCAN_H15#define NODEFOREIGNSCAN_H16 17#include "access/parallel.h"18#include "nodes/execnodes.h"19 20extern ForeignScanState *ExecInitForeignScan(ForeignScan *node, EState *estate, int eflags);21extern void ExecEndForeignScan(ForeignScanState *node);22extern void ExecReScanForeignScan(ForeignScanState *node);23 24extern void ExecForeignScanEstimate(ForeignScanState *node,25 ParallelContext *pcxt);26extern void ExecForeignScanInitializeDSM(ForeignScanState *node,27 ParallelContext *pcxt);28extern void ExecForeignScanReInitializeDSM(ForeignScanState *node,29 ParallelContext *pcxt);30extern void ExecForeignScanInitializeWorker(ForeignScanState *node,31 ParallelWorkerContext *pwcxt);32extern void ExecShutdownForeignScan(ForeignScanState *node);33 34extern void ExecAsyncForeignScanRequest(AsyncRequest *areq);35extern void ExecAsyncForeignScanConfigureWait(AsyncRequest *areq);36extern void ExecAsyncForeignScanNotify(AsyncRequest *areq);37 38#endif /* NODEFOREIGNSCAN_H */39 