Re: multi column foreign key for implicitly unique columns

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: multi column foreign key for implicitly unique columns
Дата
Msg-id 1535.1092845917@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: multi column foreign key for implicitly unique columns  (Richard Huxton <dev@archonet.com>)
Ответы Re: multi column foreign key for implicitly unique columns  (Jan Wieck <JanWieck@Yahoo.com>)
Список pgsql-sql
Richard Huxton <dev@archonet.com> writes:
> * Allow multiple unique constraints to share an index where one is a 
> superset of the others' columns.

> That way you can mark it unique without having the overhead of multiple 
> indexes.

That just moves the uncertain-dependency problem over one spot, ie, it's
the fabricated unique constraint that you can't pin down the
requirements for.
        regards, tom lane


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

Предыдущее
От: Chris Travers
Дата:
Сообщение: Re: SQL Challenge: Arbitrary Cross-tab
Следующее
От: Jan Wieck
Дата:
Сообщение: Re: multi column foreign key for implicitly unique columns