Re: domains, types, constraints

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Winkler <the_andrew_winkler(at)yahoo(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: domains, types, constraints
Date: 2008-01-22 19:06:33
Message-ID: 6056.1201028793@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Andrew Winkler <the_andrew_winkler(at)yahoo(dot)com> writes:
> Can unique only reference columns?

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

Instead, use CREATE UNIQUE INDEX.

regards, tom lane

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Andreas 2008-01-23 04:19:58 Need help with a function boolean --> text or array
Previous Message Andrew Winkler 2008-01-22 18:43:59 Re: domains, types, constraints