Skip to content

catalog: add Constraint interface subtypes, improve constraint caching in tabledesc.immutable #91918

@postamar

Description

@postamar

This tracks the follow-up work for #91704

We want:

  • catalog.CheckConstraint, catalog.ForeignKeyConstraint etc to exist and be adopted;
  • a performance-minded rewrite of the constraint cache that that PR added to the catalog.TableDescriptor implementations;
  • getting rid of constraint descriptor protobufs usages wherever practical.

Jira issue: CRDB-21487
Epic CRDB-19164

Metadata

Metadata

Assignees

Labels

C-cleanupTech debt, refactors, loose ends, etc. Solution not expected to significantly change behavior.T-sql-foundationsSQL Foundations Team (formerly SQL Schema + SQL Sessions)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions