Patch by Josh Kupershmidt
Backpatch through 9.5
- The preferred way to add a unique constraint to a table is
- ALTER TABLE ... ADD CONSTRAINT. The use of
- indexes to enforce unique constraints could be considered an
- implementation detail that should not be accessed directly.
- One should, however, be aware that there's no need to manually
+ There's no need to manually
create indexes on unique columns; doing so would just duplicate
the automatically-created index.