1996-07-09 08:22:35 +02:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
1999-02-14 00:22:53 +01:00
|
|
|
* nodeSort.h
|
1997-09-07 07:04:48 +02:00
|
|
|
*
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
|
|
|
*
|
2009-01-01 18:24:05 +01:00
|
|
|
* Portions Copyright (c) 1996-2009, 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
|
|
|
*
|
2009-01-01 18:24:05 +01:00
|
|
|
* $PostgreSQL: pgsql/src/include/executor/nodeSort.h,v 1.25 2009/01/01 17:23:59 momjian Exp $
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
1997-09-07 07:04:48 +02:00
|
|
|
#ifndef NODESORT_H
|
|
|
|
#define NODESORT_H
|
1996-07-09 08:22:35 +02:00
|
|
|
|
2002-12-05 16:50:39 +01:00
|
|
|
#include "nodes/execnodes.h"
|
1997-11-26 02:14:33 +01:00
|
|
|
|
1997-09-08 23:56:23 +02:00
|
|
|
extern int ExecCountSlotsSort(Sort *node);
|
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 TupleTableSlot *ExecSort(SortState *node);
|
|
|
|
extern void ExecEndSort(SortState *node);
|
|
|
|
extern void ExecSortMarkPos(SortState *node);
|
|
|
|
extern void ExecSortRestrPos(SortState *node);
|
|
|
|
extern void ExecReScanSort(SortState *node, ExprContext *exprCtxt);
|
2001-10-28 07:26:15 +01:00
|
|
|
|
2001-11-05 18:46:40 +01:00
|
|
|
#endif /* NODESORT_H */
|