Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com> writes:
> AFAIK there's no such thing as a partial unique constraint so the index
> should probably just be left alone.
Yeah, that seems like a bug in adddepend --- it shouldn't try to
transform *all* unique indexes into unique constraints, only those
that can be expressed in the constraint syntax. So, no partial
indexes, no functional indexes, no non-btree indexes, and no
non-default opclasses. Rod, do you have time to fix that?
regards, tom lane