CVSROOT:        /cvsroot
Module name:    pgsql-server
Changes by:     [EMAIL PROTECTED]       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.


---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
      joining column's datatypes do not match

Reply via email to