]> granicus.if.org Git - postgresql/blobdiff - src/include/executor/nodeSeqscan.h
Fix initialization of fake LSN for unlogged relations
[postgresql] / src / include / executor / nodeSeqscan.h
index c2e70e51e30db01b01fdc8775f6849d1e07c44a8..f0595b2a35b2b7e1db2b8162c90f2a20f4a02d63 100644 (file)
@@ -4,7 +4,7 @@
  *
  *
  *
- * Portions Copyright (c) 1996-2013, PostgreSQL Global Development Group
+ * Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
  *
  * src/include/executor/nodeSeqscan.h
 #ifndef NODESEQSCAN_H
 #define NODESEQSCAN_H
 
+#include "access/parallel.h"
 #include "nodes/execnodes.h"
 
 extern SeqScanState *ExecInitSeqScan(SeqScan *node, EState *estate, int eflags);
-extern TupleTableSlot *ExecSeqScan(SeqScanState *node);
 extern void ExecEndSeqScan(SeqScanState *node);
-extern void ExecSeqMarkPos(SeqScanState *node);
-extern void ExecSeqRestrPos(SeqScanState *node);
 extern void ExecReScanSeqScan(SeqScanState *node);
 
-#endif   /* NODESEQSCAN_H */
+/* parallel scan support */
+extern void ExecSeqScanEstimate(SeqScanState *node, ParallelContext *pcxt);
+extern void ExecSeqScanInitializeDSM(SeqScanState *node, ParallelContext *pcxt);
+extern void ExecSeqScanReInitializeDSM(SeqScanState *node, ParallelContext *pcxt);
+extern void ExecSeqScanInitializeWorker(SeqScanState *node,
+                                                                               ParallelWorkerContext *pwcxt);
+
+#endif                                                 /* NODESEQSCAN_H */