Re: Deferrable UNIQUE INDEX? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Deferrable UNIQUE INDEX?
Date
Msg-id 29011.1136348236@sss.pgh.pa.us
Whole thread Raw
In response to Re: Deferrable UNIQUE INDEX?  ("Andrew Dunstan" <andrew@dunslane.net>)
Responses Re: Deferrable UNIQUE INDEX?
List pgsql-hackers
"Andrew Dunstan" <andrew@dunslane.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


pgsql-hackers by date:

Previous
From: Zach Bagnall
Date:
Subject: Re: Incremental Backup Script
Next
From: Bruce Momjian
Date:
Subject: Re: [Bizgres-general] WAL bypass for INSERT, UPDATE and