Re: Deferrable UNIQUE INDEX?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Andrew Dunstan" <andrew(at)dunslane(dot)net>
Cc: david(at)fetter(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Deferrable UNIQUE INDEX?
Date: 2006-01-04 04:17:16
Message-ID: 29011.1136348236@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Andrew Dunstan" <andrew(at)dunslane(dot)net> writes:
> David Fetter said:
>> Is there some way to make the index check INITIALLY DEFERRABLE the way
>> a regular column/table constraint could be?

> The TODO list has: "Allow DEFERRABLE UNIQUE constraints?"
> send in a patch ;-)

This is definitely on the wish-list, because it is both useful and
required by the SQL spec ... but it seems nontrivial. I recall
some discussions in the pghackers archives about how to do it.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2006-01-04 04:24:09 Re: [Bizgres-general] WAL bypass for INSERT, UPDATE and
Previous Message Stephen Frost 2006-01-04 03:44:58 TRUNCATE, VACUUM, ANALYZE privileges