Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group