diff options
| author | Tom Lane | 2002-12-12 20:35:16 +0000 |
|---|---|---|
| committer | Tom Lane | 2002-12-12 20:35:16 +0000 |
| commit | cf4be353ecf6f3916508838260833c4d72e133be (patch) | |
| tree | 9ae6e376b8c1d7bcb77c788cd3aae4b46104fea6 /src/include/parser/parse_expr.h | |
| parent | e165cba544afb7843b11ce1782a0c25f1fa9b1ab (diff) | |
Preliminary code review for domain CHECK constraints patch: add documentation,
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.
Diffstat (limited to 'src/include/parser/parse_expr.h')
| -rw-r--r-- | src/include/parser/parse_expr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/parser/parse_expr.h b/src/include/parser/parse_expr.h index aa086afe01..0e6c6c7138 100644 --- a/src/include/parser/parse_expr.h +++ b/src/include/parser/parse_expr.h @@ -22,7 +22,7 @@ extern int max_expr_depth; extern bool Transform_null_equals; -extern Node *transformExpr(ParseState *pstate, Node *expr, ConstraintTestValue *domVal); +extern Node *transformExpr(ParseState *pstate, Node *expr); extern Oid exprType(Node *expr); extern int32 exprTypmod(Node *expr); extern bool exprIsLengthCoercion(Node *expr, int32 *coercedTypmod); |
