Re: constraints on composite types - Mailing list pgsql-general

From Michael Fuhr
Subject Re: constraints on composite types
Date
Msg-id 20050909151030.GA52861@winnie.fuhr.org
Whole thread Raw
In response to Re: constraints on composite types  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: constraints on composite types
List 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 by date:

Previous
From: Richard Huxton
Date:
Subject: Re: constraints on composite types
Next
From: Roman Neuhauser
Date:
Subject: Re: constraints on composite types