1996-07-09 08:22:35 +02:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
1999-02-14 00:22:53 +01:00
|
|
|
* nodeSort.h
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
|
|
|
*
|
|
|
|
*
|
2021-01-02 19:06:25 +01:00
|
|
|
* Portions Copyright (c) 1996-2021, PostgreSQL Global Development Group
|
2000-01-26 06:58:53 +01:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
2010-09-20 22:08:53 +02:00
|
|
|
* src/include/executor/nodeSort.h
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
#ifndef NODESORT_H
|
|
|
|
#define NODESORT_H
|
|
|
|
|
2017-08-29 19:22:49 +02:00
|
|
|
#include "access/parallel.h"
|
2002-12-05 16:50:39 +01:00
|
|
|
#include "nodes/execnodes.h"
|
1997-11-26 02:14:33 +01:00
|
|
|
|
2006-02-28 05:10:28 +01:00
|
|
|
extern SortState *ExecInitSort(Sort *node, EState *estate, int eflags);
|
2002-12-05 16:50:39 +01:00
|
|
|
extern void ExecEndSort(SortState *node);
|
|
|
|
extern void ExecSortMarkPos(SortState *node);
|
|
|
|
extern void ExecSortRestrPos(SortState *node);
|
2010-07-12 19:01:06 +02:00
|
|
|
extern void ExecReScanSort(SortState *node);
|
2001-10-28 07:26:15 +01:00
|
|
|
|
2017-08-29 19:22:49 +02:00
|
|
|
/* parallel instrumentation support */
|
|
|
|
extern void ExecSortEstimate(SortState *node, ParallelContext *pcxt);
|
|
|
|
extern void ExecSortInitializeDSM(SortState *node, ParallelContext *pcxt);
|
2017-11-17 02:28:11 +01:00
|
|
|
extern void ExecSortInitializeWorker(SortState *node, ParallelWorkerContext *pwcxt);
|
2017-08-29 19:22:49 +02:00
|
|
|
extern void ExecSortRetrieveInstrumentation(SortState *node);
|
|
|
|
|
1996-07-09 08:22:35 +02:00
|
|
|
#endif /* NODESORT_H */
|