nodeForeignscan.h 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. /*-------------------------------------------------------------------------
  2. *
  3. * nodeForeignscan.h
  4. *
  5. *
  6. *
  7. * Portions Copyright (c) 1996-2016, 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 TupleTableSlot *ExecForeignScan(ForeignScanState *node);
  20. extern void ExecEndForeignScan(ForeignScanState *node);
  21. extern void ExecReScanForeignScan(ForeignScanState *node);
  22. extern void ExecForeignScanEstimate(ForeignScanState *node,
  23. ParallelContext *pcxt);
  24. extern void ExecForeignScanInitializeDSM(ForeignScanState *node,
  25. ParallelContext *pcxt);
  26. extern void ExecForeignScanInitializeWorker(ForeignScanState *node,
  27. shm_toc *toc);
  28. #endif /* NODEFOREIGNSCAN_H */