-
Notifications
You must be signed in to change notification settings - Fork 4.1k
sql: Support ALTER TABLE __ ADD CONSTRAINT __ FOREIGN KEY __ statements #8855
Copy link
Copy link
Closed
Labels
A-schema-changesA-sql-pgcompatSemantic compatibility with PostgreSQLSemantic compatibility with PostgreSQLA-sql-semanticsC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)E-starterMight be suitable for a starter project for new employees or team members.Might be suitable for a starter project for new employees or team members.X-anchored-telemetryThe issue number is anchored by telemetry references.The issue number is anchored by telemetry references.
Description
The ALTER TABLE __ ADD CONSTRAINT __ FOREIGN KEY __ statement type is used by a few different ORMs including Hibernate to manage FK constraints. It is currently unsupported by CockroachDB.
This is related to the larger issue in #8773, but I wanted to split it out into a separate issue for easier tracking.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-schema-changesA-sql-pgcompatSemantic compatibility with PostgreSQLSemantic compatibility with PostgreSQLA-sql-semanticsC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)E-starterMight be suitable for a starter project for new employees or team members.Might be suitable for a starter project for new employees or team members.X-anchored-telemetryThe issue number is anchored by telemetry references.The issue number is anchored by telemetry references.