Re: constraints on composite types

Поиск
Список
Период
Сортировка
От Roman Neuhauser
Тема Re: constraints on composite types
Дата
Msg-id 20050909152058.GA44851@isis.sigpipe.cz
обсуждение исходный текст
Ответ на Re: constraints on composite types  (Michael Fuhr <mike@fuhr.org>)
Ответы Re: constraints on composite types  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-general
# mike@fuhr.org / 2005-09-09 09:10:30 -0600:
> 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

    The manual says something to the effect of (table.col).subcol,
    I'll need that schema-qualified as well, IOW (schema.table.col).subcol

--
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man.  You don't KNOW.
Cause you weren't THERE.             http://bash.org/?255991

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

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: constraints on composite types
Следующее
От: Tom Lane
Дата:
Сообщение: Re: constraints on composite types