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
|
|
|
*
|
|
|
|
|
*
|
2003-08-03 22:40:20 -04:00
|
|
|
* Portions Copyright (c) 1996-2003, 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
|
|
|
*
|
2003-08-03 22:40:20 -04:00
|
|
|
* $Id: nodeSort.h,v 1.17 2003/08/04 02:40:13 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
|
|
|
|
1997-09-08 17:56:23 -04:00
|
|
|
extern int ExecCountSlotsSort(Sort *node);
|
2002-12-05 10:50:39 -05:00
|
|
|
extern SortState *ExecInitSort(Sort *node, EState *estate);
|
|
|
|
|
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 */
|