1997-11-25 22:07:18 +00:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
|
|
|
* parse_clause.h
|
|
|
|
*
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* Copyright (c) 1994, Regents of the University of California
|
|
|
|
*
|
1999-05-26 12:57:23 +00:00
|
|
|
* $Id: parse_clause.h,v 1.9 1999/05/26 12:56:41 momjian Exp $
|
1997-11-25 22:07:18 +00: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>
|
|
|
|
|
1999-02-23 08:05:27 +00:00
|
|
|
extern void makeRangeTable(ParseState *pstate, char *relname, List *frmList, Node **qual);
|
|
|
|
extern Node *transformWhereClause(ParseState *pstate, Node *where, Node *using);
|
1998-09-01 04:40:42 +00:00
|
|
|
extern List *transformGroupClause(ParseState *pstate, List *grouplist,
|
1998-02-26 04:46:47 +00:00
|
|
|
List *targetlist);
|
1998-09-01 04:40:42 +00:00
|
|
|
extern List *transformSortClause(ParseState *pstate,
|
1997-12-29 04:31:50 +00:00
|
|
|
List *orderlist, List *sortClause,
|
|
|
|
List *targetlist, char *uniqueFlag);
|
1998-09-01 04:40:42 +00:00
|
|
|
#endif /* PARSE_CLAUSE_H */
|