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

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

pgsql-hackers by date

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

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