Re: Foreign key type checking patch

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Foreign key type checking patch
Дата
Msg-id 296.1078160047@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Foreign key type checking patch  (Fabien COELHO <coelho@cri.ensmp.fr>)
Ответы Re: Foreign key type checking patch  (Fabien COELHO <coelho@cri.ensmp.fr>)
Список pgsql-patches
Fabien COELHO <coelho@cri.ensmp.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

В списке pgsql-patches по дате отправления:

Предыдущее
От: Fabien COELHO
Дата:
Сообщение: Foreign key type checking patch
Следующее
От: Fabien COELHO
Дата:
Сообщение: Re: Foreign key type checking patch