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