Re: ALTER TABLE ADD UNIQUE .....

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ALTER TABLE ADD UNIQUE .....
Дата
Msg-id 29866.1068560450@sss.pgh.pa.us
обсуждение исходный текст
Ответ на ALTER TABLE ADD UNIQUE .....  (Rajesh Kumar Mallah <mallah@trade-india.com>)
Список pgsql-general
Rajesh Kumar Mallah <mallah@trade-india.com> writes:
> Looks like ADD UNIQUE( some_fuc( some_feild) ) is not supported with add constraint.
> the only way is to add the constriant is using UNIQUE INDEX .
> Is it a bug or intended behaviour?

It's intended.  The syntax and behavior of unique constraints is defined
by the standard, and it doesn't include anything about functional
indexes.

            regards, tom lane

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

Предыдущее
От: Christopher Murtagh
Дата:
Сообщение: Re: PL/Perl returning multiple rows
Следующее
От: bob parker
Дата:
Сообщение: Re: Visio Like Tool....