"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