sql/schemachanger: support ALTER PRIMARY KEY when index references exist within views / functions #124131
Labels
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
T-sql-foundations
SQL Foundations Team (formerly SQL Schema + SQL Sessions)
Projects
Previously, the declarative schema changer would hang with validation errors if we had references inside views / functions using the index selection syntax (i.e. @. This was because the declarative schema changer did not have any mechanism in place to fix these references. As a short term fix in #123017 we have blocked such schema changes. But longer term we can support them by "fixing" such references.
Jira issue: CRDB-38713
Epic CRDB-31281
The text was updated successfully, but these errors were encountered: