cockroachdb / cockroachdb/cockroach
sql: should disallow dropping objects with portals relying on it
Open
A-pausable-portals
C-bug
T-sql-queries
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
Currently, when there're cursors, we disallow schema changes. We should do similar restrictions for portals as well.
A more fine-grained control would be disallowing schema changes over the objects that existing cursors or portals rely on.
Jira issue: CRDB-25694
Epic CRDB-25183
Contributor guide
Assessment
This issue has not been assessed yet.