1997-11-26 06:07:18 +08:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
1999-07-19 08:26:20 +08:00
|
|
|
* parse_expr.h
|
1997-11-26 06:07:18 +08:00
|
|
|
*
|
|
|
|
*
|
|
|
|
*
|
2006-03-05 23:59:11 +08:00
|
|
|
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
|
2000-01-26 13:58:53 +08:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
1997-11-26 06:07:18 +08:00
|
|
|
*
|
2006-03-05 23:59:11 +08:00
|
|
|
* $PostgreSQL: pgsql/src/include/parser/parse_expr.h,v 1.36 2006/03/05 15:58:57 momjian Exp $
|
1997-11-26 06:07:18 +08:00
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
#ifndef PARSE_EXPR_H
|
|
|
|
#define PARSE_EXPR_H
|
|
|
|
|
1999-07-16 07:04:24 +08:00
|
|
|
#include "parser/parse_node.h"
|
1997-11-26 06:07:18 +08:00
|
|
|
|
1999-07-19 08:26:20 +08:00
|
|
|
|
2002-03-22 00:02:16 +08:00
|
|
|
/* GUC parameters */
|
2001-09-20 22:20:28 +08:00
|
|
|
extern bool Transform_null_equals;
|
2000-03-17 13:29:07 +08:00
|
|
|
|
2002-11-15 10:50:21 +08:00
|
|
|
|
2002-12-13 04:35:16 +08:00
|
|
|
extern Node *transformExpr(ParseState *pstate, Node *expr);
|
1998-02-26 12:46:47 +08:00
|
|
|
extern Oid exprType(Node *expr);
|
1999-07-19 08:26:20 +08:00
|
|
|
extern int32 exprTypmod(Node *expr);
|
2000-02-27 05:11:10 +08:00
|
|
|
extern bool exprIsLengthCoercion(Node *expr, int32 *coercedTypmod);
|
2001-10-28 14:26:15 +08:00
|
|
|
|
2001-11-06 01:46:40 +08:00
|
|
|
#endif /* PARSE_EXPR_H */
|