1997-11-25 17:07:18 -05:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
|
*
|
1999-07-18 20:26:20 -04:00
|
|
|
* parse_expr.h
|
1997-11-25 17:07:18 -05:00
|
|
|
*
|
|
|
|
|
*
|
|
|
|
|
*
|
|
|
|
|
* Copyright (c) 1994, Regents of the University of California
|
|
|
|
|
*
|
1999-08-04 22:33:54 -04:00
|
|
|
* $Id: parse_expr.h,v 1.15 1999/08/05 02:33:51 tgl Exp $
|
1997-11-25 17:07:18 -05:00
|
|
|
*
|
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
|
*/
|
|
|
|
|
#ifndef PARSE_EXPR_H
|
|
|
|
|
#define PARSE_EXPR_H
|
|
|
|
|
|
1999-07-15 19:04:24 -04:00
|
|
|
#include "parser/parse_node.h"
|
1999-07-15 11:21:54 -04:00
|
|
|
#include "parser/parse_type.h"
|
1997-11-25 17:07:18 -05:00
|
|
|
|
1999-07-18 20:26:20 -04:00
|
|
|
#define EXPR_COLUMN_FIRST 1
|
|
|
|
|
#define EXPR_RELATION_FIRST 2
|
|
|
|
|
|
1997-11-25 20:14:33 -05:00
|
|
|
extern Node *transformExpr(ParseState *pstate, Node *expr, int precedence);
|
1998-02-25 23:46:47 -05:00
|
|
|
extern Oid exprType(Node *expr);
|
1999-07-18 20:26:20 -04:00
|
|
|
extern int32 exprTypmod(Node *expr);
|
1997-11-25 17:07:18 -05:00
|
|
|
|
1998-09-01 00:40:42 -04:00
|
|
|
#endif /* PARSE_EXPR_H */
|