This patch should catch cases where the types
Bruce Momjian <bruce@momjian.us>
This patch should catch cases where the types in referencing and referenced columns of an fk constraint aren't comparable using '=' at constraint definition time rather than insert/update time. Stephan Szabo
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/command.c | modified | +32 −1 |
| src/backend/parser/analyze.c | modified | +122 −39 |
| src/test/regress/expected/alter_table.out | modified | +57 −0 |
| src/test/regress/expected/foreign_key.out | modified | +250 −0 |
| src/test/regress/sql/alter_table.sql | modified | +36 −0 |
| src/test/regress/sql/foreign_key.sql | modified | +156 −0 |