mirror of
https://github.com/postgres/postgres.git
synced 2025-12-13 00:03:30 -05:00
make VALUE a non-reserved word again, use less invasive method of passing ConstraintTestValue into transformExpr, fix problems with nested constraint testing, do correct thing with NULL result from a constraint expression, remove memory leak. Domain checks still need much more work if we are going to allow ALTER DOMAIN, however.
32 lines
816 B
C
32 lines
816 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* parse_expr.h
|
|
*
|
|
*
|
|
*
|
|
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
*
|
|
* $Id: parse_expr.h,v 1.30 2002/12/12 20:35:16 tgl Exp $
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
#ifndef PARSE_EXPR_H
|
|
#define PARSE_EXPR_H
|
|
|
|
#include "parser/parse_node.h"
|
|
|
|
|
|
/* GUC parameters */
|
|
extern int max_expr_depth;
|
|
extern bool Transform_null_equals;
|
|
|
|
|
|
extern Node *transformExpr(ParseState *pstate, Node *expr);
|
|
extern Oid exprType(Node *expr);
|
|
extern int32 exprTypmod(Node *expr);
|
|
extern bool exprIsLengthCoercion(Node *expr, int32 *coercedTypmod);
|
|
extern void parse_expr_init(void);
|
|
|
|
#endif /* PARSE_EXPR_H */
|