diff options
| author | Tom Lane | 2003-02-03 21:15:45 +0000 |
|---|---|---|
| committer | Tom Lane | 2003-02-03 21:15:45 +0000 |
| commit | 3752e85bad45e98383ea1c9e7e7dbaf13f41da7e (patch) | |
| tree | ce6735a837cf169d82744b7877630494d35ce65a /src/pl/plpgsql | |
| parent | 464598b637cfabde01695a27a32ed8f133d127d7 (diff) | |
Determine the set of constraints applied to a domain at executor
startup, not in the parser; this allows ALTER DOMAIN to work correctly
with domain constraint operations stored in rules. Rod Taylor;
code review by Tom Lane.
Diffstat (limited to 'src/pl/plpgsql')
| -rw-r--r-- | src/pl/plpgsql/src/pl_exec.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/pl/plpgsql/src/pl_exec.c b/src/pl/plpgsql/src/pl_exec.c index c9fd9418b44..7d4785ef7d5 100644 --- a/src/pl/plpgsql/src/pl_exec.c +++ b/src/pl/plpgsql/src/pl_exec.c @@ -3,7 +3,7 @@ * procedural language * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.77 2003/01/21 22:06:12 tgl Exp $ + * $Header: /cvsroot/pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.78 2003/02/03 21:15:45 tgl Exp $ * * This software is copyrighted by Jan Wieck - Hamburg. * @@ -3634,6 +3634,9 @@ exec_simple_check_node(Node *node) case T_BooleanTest: return exec_simple_check_node((Node *) ((BooleanTest *) node)->arg); + case T_CoerceToDomain: + return exec_simple_check_node((Node *) ((CoerceToDomain *) node)->arg); + case T_List: { List *expr = (List *) node; |
