Re: adddepend and partial indexes

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: adddepend and partial indexes
Дата
Msg-id 13024.1055863846@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: adddepend and partial indexes  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Список pgsql-general
Stephan Szabo <sszabo@megazone23.bigpanda.com> writes:
> AFAIK there's no such thing as a partial unique constraint so the index
> should probably just be left alone.

Yeah, that seems like a bug in adddepend --- it shouldn't try to
transform *all* unique indexes into unique constraints, only those
that can be expressed in the constraint syntax.  So, no partial
indexes, no functional indexes, no non-btree indexes, and no
non-default opclasses.  Rod, do you have time to fix that?

            regards, tom lane

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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: adddepend and partial indexes
Следующее
От: SZUCS Gábor
Дата:
Сообщение: Re: adddepend and partial indexes