CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: tgl(at)svr1(dot)postgresql(dot)org 04/03/13 18:09:14
Modified files:
src/backend/commands: tablecmds.c
src/test/regress/expected: alter_table.out foreign_key.out
src/test/regress/sql: foreign_key.sql
Log message:
Generate a WARNING when the column types in a foreign key constraint are
incompatible enough to prevent indexscanning the referenced table. Also,
improve the error message that pops out when we can't implement the FK at
all for lack of a usable equality operator. Fabien Coelho, with some review
by Tom Lane.