This patch should catch cases where the typesin referencing and referenced columns of an fk constraintaren't comparable using '=' at constraint definition timerather than insert/update time.