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
|
|
|
*
|
|
|
|
|
*
|
2001-01-24 14:43:33 -05:00
|
|
|
* Portions Copyright (c) 1996-2001, 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
|
|
|
*
|
2001-10-25 01:50:21 -04:00
|
|
|
* $Id: nodeSort.h,v 1.12 2001/10/25 05:49:59 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);
|
1998-09-01 00:40:42 -04:00
|
|
|
#endif /* NODESORT_H */
|