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
|
|
|
*
|
|
|
|
|
*
|
2002-06-20 16:29:54 -04:00
|
|
|
* Portions Copyright (c) 1996-2002, 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
|
|
|
*
|
2002-06-20 16:29:54 -04:00
|
|
|
* $Id: nodeSort.h,v 1.15 2002/06/20 20:29:49 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
|
|
|
|
1997-11-25 20:14:33 -05:00
|
|
|
#include "nodes/plannodes.h"
|
|
|
|
|
|
1997-09-08 17:56:23 -04:00
|
|
|
extern TupleTableSlot *ExecSort(Sort *node);
|
|
|
|
|
extern bool ExecInitSort(Sort *node, EState *estate, Plan *parent);
|
|
|
|
|
extern int ExecCountSlotsSort(Sort *node);
|
|
|
|
|
extern void ExecEndSort(Sort *node);
|
|
|
|
|
extern void ExecSortMarkPos(Sort *node);
|
|
|
|
|
extern void ExecSortRestrPos(Sort *node);
|
1998-02-23 01:28:16 -05:00
|
|
|
extern void ExecReScanSort(Sort *node, ExprContext *exprCtxt, Plan *parent);
|
2001-10-28 01:26:15 -05:00
|
|
|
|
2001-11-05 12:46:40 -05:00
|
|
|
#endif /* NODESORT_H */
|