Re: data integrity and inserts

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Ian Harding" <iharding(at)tpchd(dot)org>
Cc: leknarf(at)pacbell(dot)net, pgsql-general(at)postgresql(dot)org
Subject: Re: data integrity and inserts
Date: 2004-12-02 20:19:48
Message-ID: 829.1102018788@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Ian Harding" <iharding(at)tpchd(dot)org> writes:
> The second is shorthand for the first. you get to choose the index name
> in the first one.

IIRC you can force the index name in the second case too, by using
the fully unabbreviated CONSTRAINT syntax:

..., CONSTRAINT indexname UNIQUE(colname), ...

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Timothy Perrigo 2004-12-02 20:20:35 Re: data integrity and inserts
Previous Message Tom Lane 2004-12-02 20:14:45 Re: List archives not being updated?