1997-11-25 23:07:18 +01:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
|
|
|
* parse_clause.h
|
|
|
|
*
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* Copyright (c) 1994, Regents of the University of California
|
|
|
|
*
|
1998-02-26 05:46:47 +01:00
|
|
|
* $Id: parse_clause.h,v 1.6 1998/02/26 04:42:40 momjian Exp $
|
1997-11-25 23:07:18 +01:00
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
#ifndef PARSE_CLAUSE_H
|
|
|
|
#define PARSE_CLAUSE_H
|
|
|
|
|
|
|
|
#include <nodes/pg_list.h>
|
|
|
|
#include <nodes/nodes.h>
|
|
|
|
#include <nodes/parsenodes.h>
|
|
|
|
#include <nodes/primnodes.h>
|
|
|
|
#include <parser/parse_node.h>
|
|
|
|
|
1997-11-26 02:14:33 +01:00
|
|
|
extern void makeRangeTable(ParseState *pstate, char *relname, List *frmList);
|
|
|
|
extern Node *transformWhereClause(ParseState *pstate, Node *a_expr);
|
1998-02-26 05:46:47 +01:00
|
|
|
extern List *
|
|
|
|
transformGroupClause(ParseState *pstate, List *grouplist,
|
|
|
|
List *targetlist);
|
|
|
|
extern List *
|
|
|
|
transformSortClause(ParseState *pstate,
|
1997-12-29 05:31:50 +01:00
|
|
|
List *orderlist, List *sortClause,
|
|
|
|
List *targetlist, char *uniqueFlag);
|
1997-12-29 02:13:37 +01:00
|
|
|
extern List *transformUnionClause(List *unionClause, List *targetlist);
|
1997-11-25 23:07:18 +01:00
|
|
|
|
|
|
|
#endif /* PARSE_CLAUSE_H */
|