1996-07-09 02:22:35 -04:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
|
*
|
1999-02-13 18:22:53 -05:00
|
|
|
* nodeSort.h
|
1997-09-07 01:04:48 -04:00
|
|
|
*
|
1996-07-09 02:22:35 -04:00
|
|
|
*
|
|
|
|
|
*
|
2010-01-02 11:58:17 -05:00
|
|
|
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
|
2000-01-26 00:58:53 -05:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
1996-07-09 02:22:35 -04:00
|
|
|
*
|
2010-01-02 11:58:17 -05:00
|
|
|
* $PostgreSQL: pgsql/src/include/executor/nodeSort.h,v 1.27 2010/01/02 16:58:03 momjian Exp $
|
1996-07-09 02:22:35 -04:00
|
|
|
*
|
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
|
*/
|
1997-09-07 01:04:48 -04:00
|
|
|
#ifndef NODESORT_H
|
|
|
|
|
#define NODESORT_H
|
1996-07-09 02:22:35 -04:00
|
|
|
|
2002-12-05 10:50:39 -05:00
|
|
|
#include "nodes/execnodes.h"
|
1997-11-25 20:14:33 -05:00
|
|
|
|
2006-02-27 23:10:28 -05:00
|
|
|
extern SortState *ExecInitSort(Sort *node, EState *estate, int eflags);
|
2002-12-05 10:50:39 -05: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 01:26:15 -05:00
|
|
|
|
2001-11-05 12:46:40 -05:00
|
|
|
#endif /* NODESORT_H */
|