-
Notifications
You must be signed in to change notification settings - Fork 4k
Open
Labels
A-pausable-portalsIssues related to multiple active portalsIssues related to multiple active portalsC-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)T-sql-queriesSQL Queries TeamSQL Queries Teamdocs-known-limitation
Description
In Postgres, pausable portal is supported with CALL statement with store procedures. E.g.:
send
Parse {"Name": "foo", "Query": "CALL fab5()"}
Bind {"DestinationPortal": "foo", "PreparedStatement": "foo"}
Bind {"DestinationPortal": "foo2", "PreparedStatement": "foo"}
Execute {"Portal": "foo", "MaxRows": 100}
Sync
----
# PG allows procedure with pausable portal, but CRDB does not.
until noncrdb_only ignore=RowDescription ignore=NoticeResponse
ReadyForQuery
----
{"Type":"ParseComplete"}
{"Type":"BindComplete"}
{"Type":"BindComplete"}
{"Type":"CommandComplete","CommandTag":"CALL"}
{"Type":"ReadyForQuery","TxStatus":"I"}
We now disallow it in #151153.
Jira issue: CRDB-53331
Metadata
Metadata
Assignees
Labels
A-pausable-portalsIssues related to multiple active portalsIssues related to multiple active portalsC-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)T-sql-queriesSQL Queries TeamSQL Queries Teamdocs-known-limitation
Type
Projects
Status
Backlog