Re: multi column foreign key for implicitly unique columns

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: multi column foreign key for implicitly unique columns
Дата
Msg-id 22808.1092842209@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: multi column foreign key for implicitly unique columns  (Jan Wieck <JanWieck@Yahoo.com>)
Ответы Re: multi column foreign key for implicitly unique columns  (Richard Huxton <dev@archonet.com>)
Список pgsql-sql
Jan Wieck <JanWieck@Yahoo.com> writes:
> However, Bruce, this should be on the TODO list:
>      * Allow foreign key to reference a superset of the columns
>        covered by a unique constraint on the referenced table.

See the followup discussion as to why this is a bad idea.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: SQL Challenge: Arbitrary Cross-tab
Следующее
От: Bruce Momjian
Дата:
Сообщение: /contrib and win32