00001 /*------------------------------------------------------------------------- 00002 * 00003 * nodeSort.h 00004 * 00005 * 00006 * 00007 * Portions Copyright (c) 1996-2013, PostgreSQL Global Development Group 00008 * Portions Copyright (c) 1994, Regents of the University of California 00009 * 00010 * src/include/executor/nodeSort.h 00011 * 00012 *------------------------------------------------------------------------- 00013 */ 00014 #ifndef NODESORT_H 00015 #define NODESORT_H 00016 00017 #include "nodes/execnodes.h" 00018 00019 extern SortState *ExecInitSort(Sort *node, EState *estate, int eflags); 00020 extern TupleTableSlot *ExecSort(SortState *node); 00021 extern void ExecEndSort(SortState *node); 00022 extern void ExecSortMarkPos(SortState *node); 00023 extern void ExecSortRestrPos(SortState *node); 00024 extern void ExecReScanSort(SortState *node); 00025 00026 #endif /* NODESORT_H */