Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr> writes:
> Here is a proposed patch against 7.4.1 to check exact match
> of foreign key types wrt the referenced keys, and to show
> a warning if this is not the case.
I think that this concern may be obsolete in CVS tip, at least for the
cases where we have indexable cross-type operators. The correct way
to do this would be to look at the operator found by oper() and see
whether it's indexable.
regards, tom lane