1996-07-09 08:22:35 +02:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
|
|
|
* nodeSort.h--
|
1997-09-07 07:04:48 +02:00
|
|
|
*
|
1996-07-09 08:22:35 +02:00
|
|
|
*
|
|
|
|
*
|
|
|
|
* Copyright (c) 1994, Regents of the University of California
|
|
|
|
*
|
1998-09-01 06:40:42 +02:00
|
|
|
* $Id: nodeSort.h,v 1.7 1998/09/01 04:36:07 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
|
|
|
|
1997-11-26 02:14:33 +01:00
|
|
|
#include "executor/tuptable.h"
|
|
|
|
#include "nodes/execnodes.h"
|
|
|
|
#include "nodes/plannodes.h"
|
|
|
|
|
1997-09-08 23:56:23 +02: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 07:28:16 +01:00
|
|
|
extern void ExecReScanSort(Sort *node, ExprContext *exprCtxt, Plan *parent);
|
1996-07-09 08:22:35 +02:00
|
|
|
|
1998-09-01 06:40:42 +02:00
|
|
|
#endif /* NODESORT_H */
|