1
0
mirror of https://github.com/postgres/postgres.git synced 2026-01-29 12:02:15 +03:00
Files
postgres/src/include/executor/nodeIncrementalSort.h
Bruce Momjian 27b77ecf9f Update copyright for 2022
Backpatch-through: 10
2022-01-07 19:04:57 -05:00

29 lines
1.2 KiB
C

/*-------------------------------------------------------------------------
*
* nodeIncrementalSort.h
*
* Portions Copyright (c) 1996-2022, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* src/include/executor/nodeIncrementalSort.h
*
*-------------------------------------------------------------------------
*/
#ifndef NODEINCREMENTALSORT_H
#define NODEINCREMENTALSORT_H
#include "access/parallel.h"
#include "nodes/execnodes.h"
extern IncrementalSortState *ExecInitIncrementalSort(IncrementalSort *node, EState *estate, int eflags);
extern void ExecEndIncrementalSort(IncrementalSortState *node);
extern void ExecReScanIncrementalSort(IncrementalSortState *node);
/* parallel instrumentation support */
extern void ExecIncrementalSortEstimate(IncrementalSortState *node, ParallelContext *pcxt);
extern void ExecIncrementalSortInitializeDSM(IncrementalSortState *node, ParallelContext *pcxt);
extern void ExecIncrementalSortInitializeWorker(IncrementalSortState *node, ParallelWorkerContext *pcxt);
extern void ExecIncrementalSortRetrieveInstrumentation(IncrementalSortState *node);
#endif /* NODEINCREMENTALSORT_H */