1 /*-------------------------------------------------------------------------
2  *
3  * nodeSeqscan.h
4  *
5  *
6  *
7  * Portions Copyright (c) 1996-2018, PostgreSQL Global Development Group
8  * Portions Copyright (c) 1994, Regents of the University of California
9  *
10  * src/include/executor/nodeSeqscan.h
11  *
12  *-------------------------------------------------------------------------
13  */
14 #ifndef NODESEQSCAN_H
15 #define NODESEQSCAN_H
16 
17 #include "access/parallel.h"
18 #include "nodes/execnodes.h"
19 
20 extern SeqScanState *ExecInitSeqScan(SeqScan *node, EState *estate, int eflags);
21 extern void ExecEndSeqScan(SeqScanState *node);
22 extern void ExecReScanSeqScan(SeqScanState *node);
23 
24 /* parallel scan support */
25 extern void ExecSeqScanEstimate(SeqScanState *node, ParallelContext *pcxt);
26 extern void ExecSeqScanInitializeDSM(SeqScanState *node, ParallelContext *pcxt);
27 extern void ExecSeqScanReInitializeDSM(SeqScanState *node, ParallelContext *pcxt);
28 extern void ExecSeqScanInitializeWorker(SeqScanState *node,
29 							ParallelWorkerContext *pwcxt);
30 
31 #endif							/* NODESEQSCAN_H */
32