1/*-------------------------------------------------------------------------
2 *
3 * nodeSeqscan.h
4 *
5 *
6 *
7 * Portions Copyright (c) 1996-2019, 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
20extern SeqScanState *ExecInitSeqScan(SeqScan *node, EState *estate, int eflags);
21extern void ExecEndSeqScan(SeqScanState *node);
22extern void ExecReScanSeqScan(SeqScanState *node);
23
24/* parallel scan support */
25extern void ExecSeqScanEstimate(SeqScanState *node, ParallelContext *pcxt);
26extern void ExecSeqScanInitializeDSM(SeqScanState *node, ParallelContext *pcxt);
27extern void ExecSeqScanReInitializeDSM(SeqScanState *node, ParallelContext *pcxt);
28extern void ExecSeqScanInitializeWorker(SeqScanState *node,
29 ParallelWorkerContext *pwcxt);
30
31#endif /* NODESEQSCAN_H */
32