Foreign key data type mismatches

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Foreign key data type mismatches
Дата
Msg-id Pine.LNX.4.44.0312011301420.23215-100000@peter.localdomain
обсуждение исходный текст
Ответы Re: Foreign key data type mismatches  (Andreas Pflug <pgadmin@pse-consulting.de>)
Re: Foreign key data type mismatches  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
Список pgsql-hackers
I was just annoyed to find out that a foreign key doesn't check whether
the referenced column has a sufficiently similar data type, it only checks
whether an = operator exists.  This masks schema design errors and typos.
Should this be tightened up, for example using the castability
characteristics between the two data types?

-- 
Peter Eisentraut   peter_e@gmx.net



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

Предыдущее
От: "phd9110"
Дата:
Сообщение: Where does catalog store CHAR length ?
Следующее
От: Andreas Pflug
Дата:
Сообщение: Re: Foreign key data type mismatches