2
0

nodeForeignscan.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*-------------------------------------------------------------------------
  2. *
  3. * nodeForeignscan.h
  4. *
  5. *
  6. *
  7. * Portions Copyright (c) 1996-2022, PostgreSQL Global Development Group
  8. * Portions Copyright (c) 1994, Regents of the University of California
  9. *
  10. * src/include/executor/nodeForeignscan.h
  11. *
  12. *-------------------------------------------------------------------------
  13. */
  14. #ifndef NODEFOREIGNSCAN_H
  15. #define NODEFOREIGNSCAN_H
  16. #include "access/parallel.h"
  17. #include "nodes/execnodes.h"
  18. extern ForeignScanState *ExecInitForeignScan(ForeignScan *node, EState *estate, int eflags);
  19. extern void ExecEndForeignScan(ForeignScanState *node);
  20. extern void ExecReScanForeignScan(ForeignScanState *node);
  21. extern void ExecForeignScanEstimate(ForeignScanState *node,
  22. ParallelContext *pcxt);
  23. extern void ExecForeignScanInitializeDSM(ForeignScanState *node,
  24. ParallelContext *pcxt);
  25. extern void ExecForeignScanReInitializeDSM(ForeignScanState *node,
  26. ParallelContext *pcxt);
  27. extern void ExecForeignScanInitializeWorker(ForeignScanState *node,
  28. ParallelWorkerContext *pwcxt);
  29. extern void ExecShutdownForeignScan(ForeignScanState *node);
  30. extern void ExecAsyncForeignScanRequest(AsyncRequest *areq);
  31. extern void ExecAsyncForeignScanConfigureWait(AsyncRequest *areq);
  32. extern void ExecAsyncForeignScanNotify(AsyncRequest *areq);
  33. #endif /* NODEFOREIGNSCAN_H */