James,
> The difficulty of my implementation comes from the position that I don't
> think the current implementation of UNIQUE constraints is ideal. It is
> "hidden" inside nbtree, which, while convenient, is not likely to be the
> best place for it.
Agreed; one of the things that's been on the TODO list for quite a while is
real deferrable unique constraints that would allow for (for example)
reordering of a UNIQUE column inside a transaction.
--
--Josh
Josh Berkus
Aglio Database Solutions
San Francisco