Simon Riggs <simon(at)2ndQuadrant(dot)com> writes:
> How about we put a partial unique index on instead?
We don't currently support partial indexes on system catalogs.
I forget what all would need to be fixed to make it happen, but I'm
pretty sure it's not trivial. Certainly refactoring pg_constraint
would be a lot easier.
regards, tom lane