1 /*-------------------------------------------------------------------------
7 * Copyright (c) 1994, Regents of the University of California
9 * $Id: parse_clause.h,v 1.5 1997/12/29 04:31:50 momjian Exp $
11 *-------------------------------------------------------------------------
13 #ifndef PARSE_CLAUSE_H
14 #define PARSE_CLAUSE_H
16 #include <nodes/pg_list.h>
17 #include <nodes/nodes.h>
18 #include <nodes/parsenodes.h>
19 #include <nodes/primnodes.h>
20 #include <parser/parse_node.h>
22 extern void makeRangeTable(ParseState *pstate, char *relname, List *frmList);
23 extern Node *transformWhereClause(ParseState *pstate, Node *a_expr);
24 extern List *transformGroupClause(ParseState *pstate, List *grouplist,
26 extern List *transformSortClause(ParseState *pstate,
27 List *orderlist, List *sortClause,
28 List *targetlist, char *uniqueFlag);
29 extern List *transformUnionClause(List *unionClause, List *targetlist);
31 #endif /* PARSE_CLAUSE_H */