sql: unique indexes should not show up in pg_constraint #65885
Labels
A-sql-vtables
Virtual tables - pg_catalog, information_schema etc
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
T-sql-foundations
SQL Foundations Team (formerly SQL Schema + SQL Sessions)
Projects
Describe the problem
Unique indexes do not show up in postgres's
pg_catalog.pg_constraint
. Cockroach only partially considered there to be a distinction between unique indexes and unique constraints until #65825. It's important to not include unique indexes so that it is possible to determine whether an index is in use to implement a constraint, or not.Epic: CRDB-10239
Jira issue: CRDB-7786
The text was updated successfully, but these errors were encountered: