Re: small bug in ADD CONSTRAINT - Mailing list pgsql-bugs

From Stephan Szabo
Subject Re: small bug in ADD CONSTRAINT
Date
Msg-id 20040313121443.N21437@megazone.bigpanda.com
Whole thread Raw
In response to small bug in ADD CONSTRAINT  (Joseph Shraibman <jks@selectacast.net>)
List pgsql-bugs
On Wed, 10 Mar 2004, Joseph Shraibman wrote:

> This works:
>
>   ALTER TABLE segment ADD CONSTRAINT  name  unique(textfield, reseller);
>
> This doesn't:
>   ALTER TABLE segment ADD CONSTRAINT  name  unique(lower(textfield),
> reseller);
>
> I had to create a unique index.

I don't think this is a bug since it means that we properly accept a
column name list in the unique constraint as per at least SQL92.

pgsql-bugs by date:

Previous
From: Pierre Marie OUM SACK
Date:
Subject: postmaster ?????
Next
From: Tom Lane
Date:
Subject: Re: small bug in ADD CONSTRAINT