PostgreSQL Source Code  git master
nodeSort.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * nodeSort.h
4  *
5  *
6  *
7  * Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group
8  * Portions Copyright (c) 1994, Regents of the University of California
9  *
10  * src/include/executor/nodeSort.h
11  *
12  *-------------------------------------------------------------------------
13  */
14 #ifndef NODESORT_H
15 #define NODESORT_H
16 
17 #include "access/parallel.h"
18 #include "nodes/execnodes.h"
19 
20 extern SortState *ExecInitSort(Sort *node, EState *estate, int eflags);
21 extern void ExecEndSort(SortState *node);
22 extern void ExecSortMarkPos(SortState *node);
23 extern void ExecSortRestrPos(SortState *node);
24 extern void ExecReScanSort(SortState *node);
25 
26 /* parallel instrumentation support */
27 extern void ExecSortEstimate(SortState *node, ParallelContext *pcxt);
28 extern void ExecSortInitializeDSM(SortState *node, ParallelContext *pcxt);
29 extern void ExecSortReInitializeDSM(SortState *node, ParallelContext *pcxt);
32 
33 #endif /* NODESORT_H */
SortState * ExecInitSort(Sort *node, EState *estate, int eflags)
Definition: nodeSort.c:166
void ExecEndSort(SortState *node)
Definition: nodeSort.c:238
void ExecSortInitializeWorker(SortState *node, ParallelWorkerContext *pwcxt)
Definition: nodeSort.c:423
void ExecSortRetrieveInstrumentation(SortState *node)
Definition: nodeSort.c:437
void ExecSortEstimate(SortState *node, ParallelContext *pcxt)
Definition: nodeSort.c:360
void ExecReScanSort(SortState *node)
Definition: nodeSort.c:306
void ExecSortInitializeDSM(SortState *node, ParallelContext *pcxt)
Definition: nodeSort.c:381
void ExecSortRestrPos(SortState *node)
Definition: nodeSort.c:291
void ExecSortReInitializeDSM(SortState *node, ParallelContext *pcxt)
Definition: nodeSort.c:406
void ExecSortMarkPos(SortState *node)
Definition: nodeSort.c:273