]> 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 1064b02b97ae5430a99877ec84df2e24b87946f7..f0595b2a35b2b7e1db2b8162c90f2a20f4a02d63 100644 (file)
@@ -1,28 +1,31 @@
 /*-------------------------------------------------------------------------
  *
- * nodeSeqscan.h--
+ * nodeSeqscan.h
  *
  *
  *
- * Copyright (c) 1994, Regents of the University of California
+ * Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group
+ * Portions Copyright (c) 1994, Regents of the University of California
  *
- * $Id: nodeSeqscan.h,v 1.7 1998/09/01 04:36:05 momjian Exp $
+ * src/include/executor/nodeSeqscan.h
  *
  *-------------------------------------------------------------------------
  */
 #ifndef NODESEQSCAN_H
 #define NODESEQSCAN_H
 
-#include "executor/tuptable.h"
+#include "access/parallel.h"
 #include "nodes/execnodes.h"
-#include "nodes/plannodes.h"
 
-extern TupleTableSlot *ExecSeqScan(SeqScan *node);
-extern bool ExecInitSeqScan(SeqScan *node, EState *estate, Plan *parent);
-extern int     ExecCountSlotsSeqScan(SeqScan *node);
-extern void ExecEndSeqScan(SeqScan *node);
-extern void ExecSeqReScan(SeqScan *node, ExprContext *exprCtxt, Plan *parent);
-extern void ExecSeqMarkPos(SeqScan *node);
-extern void ExecSeqRestrPos(SeqScan *node);
+extern SeqScanState *ExecInitSeqScan(SeqScan *node, EState *estate, int eflags);
+extern void ExecEndSeqScan(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 */