codekingpro/portable-devtools
115k
1/*-------------------------------------------------------------------------2 *3 * nodeIncrementalSort.h4 *5 * Portions Copyright (c) 1996-2023, PostgreSQL Global Development Group6 * Portions Copyright (c) 1994, Regents of the University of California7 *8 * src/include/executor/nodeIncrementalSort.h9 *10 *-------------------------------------------------------------------------11 */12#ifndef NODEINCREMENTALSORT_H13#define NODEINCREMENTALSORT_H14 15#include "access/parallel.h"16#include "nodes/execnodes.h"17 18extern IncrementalSortState *ExecInitIncrementalSort(IncrementalSort *node, EState *estate, int eflags);19extern void ExecEndIncrementalSort(IncrementalSortState *node);20extern void ExecReScanIncrementalSort(IncrementalSortState *node);21 22/* parallel instrumentation support */23extern void ExecIncrementalSortEstimate(IncrementalSortState *node, ParallelContext *pcxt);24extern void ExecIncrementalSortInitializeDSM(IncrementalSortState *node, ParallelContext *pcxt);25extern void ExecIncrementalSortInitializeWorker(IncrementalSortState *node, ParallelWorkerContext *pwcxt);26extern void ExecIncrementalSortRetrieveInstrumentation(IncrementalSortState *node);27 28#endif /* NODEINCREMENTALSORT_H */29 