Re: multi column foreign key for implicitly unique columns

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: multi column foreign key for implicitly unique columns
Дата
Msg-id 200408190921.59529.josh@agliodbs.com
обсуждение исходный текст
Ответ на Re: multi column foreign key for implicitly unique columns  (Jan Wieck <JanWieck@Yahoo.com>)
Ответы Re: multi column foreign key for implicitly unique columns  (Oliver Elphick <olly@lfix.co.uk>)
Список pgsql-sql
Jan,

> Because the value in b.y is redundant. b.x->a.x->a.y is exactly the same
>   value and he even wants to ensure this with the constraint.

And in the absence of that constraint, what ensures that b.y = a.y, exactly?

-- 
Josh Berkus
Aglio Database Solutions
San Francisco


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Function Issue!
Следующее
От: Oliver Elphick
Дата:
Сообщение: Re: multi column foreign key for implicitly unique columns