]> git.ipfire.org Git - thirdparty/postgresql.git/commit
I've fixed up the way domain constraints (not null and type length)
authorBruce Momjian <bruce@momjian.us>
Sat, 6 Jul 2002 20:16:36 +0000 (20:16 +0000)
committerBruce Momjian <bruce@momjian.us>
Sat, 6 Jul 2002 20:16:36 +0000 (20:16 +0000)
commit1666970275cf6cc44d2944888a6199c31b3e6832
treee79f2615f20b5c65600f0b95787e246a1f580996
parent5af6e0a4ac57f11d071d6200f0264bf6798b64f6
I've fixed up the way domain constraints (not null and type length)
are managed as per request.

Moved from merging with table attributes to applying themselves during
coerce_type() and coerce_type_typmod.

Regression tests altered to test the cast() scenarios.

Rod Taylor
src/backend/commands/tablecmds.c
src/backend/executor/execQual.c
src/backend/optimizer/util/clauses.c
src/backend/parser/gram.y
src/backend/parser/parse_coerce.c
src/backend/parser/parse_expr.c
src/backend/parser/parse_type.c
src/backend/utils/cache/lsyscache.c
src/include/utils/lsyscache.h
src/test/regress/expected/domain.out
src/test/regress/sql/domain.sql