Re: domains, types, constraints - Mailing list pgsql-novice

From Tom Lane
Subject Re: domains, types, constraints
Date
Msg-id 6056.1201028793@sss.pgh.pa.us
Whole thread Raw
In response to Re: domains, types, constraints  (Andrew Winkler <the_andrew_winkler@yahoo.com>)
List pgsql-novice
Andrew Winkler <the_andrew_winkler@yahoo.com> writes:
> Can unique only reference columns?

Yup, that's what the SQL spec syntax says.

Instead, use CREATE UNIQUE INDEX.

            regards, tom lane

pgsql-novice by date:

Previous
From: Andrew Winkler
Date:
Subject: Re: domains, types, constraints
Next
From: Andreas
Date:
Subject: Need help with a function boolean --> text or array