Closed
Description
CockroachDB does not currently support multiple active pgwire portals on the same session. This means that you can't perform the following sequence of events:
- open portal for query a, which will eventually return 1000 rows
- ask for 500 rows of query a
- open portal for query b
- ask for 500 rows of query b
- ask for 500 rows of query a
This sequence will fail at step 3, unless the user closes the portal for query a first, in which case this sequence will fail at step 5.
Jira issue: CRDB-5559
Epic: CRDB-17622