| От | Bruno Wolff III |
|---|---|
| Тема | Re: Question: unique on multiple columns |
| Дата | |
| Msg-id | 20030206212553.GE21780@wolff.to обсуждение исходный текст |
| Ответ на | Re: Question: unique on multiple columns (will trillich <will@serensoft.com>) |
| Ответы |
Re: Question: unique on multiple columns
|
| Список | pgsql-general |
On Thu, Feb 06, 2003 at 10:33:51 -0600, will trillich <will@serensoft.com> wrote: > > of course, my example is rather bogus -- as others pointed out, > unique(a,c) means that there'll only be 1 b for any a/c pair, so > the unique(b...) index is not-too-useful. it's just an > illustration, and a bad one at that. ah, well... If there are several different foreign key references into the table using different combinations of a, b and c, you might need both indexes.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера