In that case there's a datatype mismatch between the referencing and referenced columns, which prevents the index from being used for the FK check.
Is creating such a foreign key a WARNING yet?
Chris
---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives?
http://archives.postgresql.org