Re: constraints on composite types

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: constraints on composite types
Дата
Msg-id 20050909151030.GA52861@winnie.fuhr.org
обсуждение исходный текст
Ответ на Re: constraints on composite types  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: constraints on composite types  (Roman Neuhauser <neuhauser@sigpipe.cz>)
Список pgsql-general
On Fri, Sep 09, 2005 at 10:39:58AM -0400, Tom Lane wrote:
> I don't believe you need the function -- this should be enough:
>
> CREATE UNIQUE INDEX t1_b_uniq ON t1 ((attr.foo));

I was expecting that to work too, but it doesn't:

ERROR:  relation "attr" does not exist

--
Michael Fuhr

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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: constraints on composite types
Следующее
От: Roman Neuhauser
Дата:
Сообщение: Re: constraints on composite types