123456789101112131415161718192021222324 |
- # Verify that portals are destroyed after a non-Execute command in an implicit
- # transaction. This is a Materialize-specific deviation from PostgreSQL to allow
- # optimizations for single-statement implicit transactions in the extended
- # query protocol.
- # See materialize#15255 and materialize#24093.
- send
- Parse {"query": "VALUES (1), (2)"}
- Bind {"portal": "c"}
- Execute {"portal": "c", "max_rows": 1}
- Parse {"query": "VALUES (1), (2)"}
- Execute {"portal": "c", "max_rows": 1}
- Sync
- ----
- until
- ReadyForQuery
- ----
- ParseComplete
- BindComplete
- DataRow {"fields":["1"]}
- PortalSuspended
- ParseComplete
- ErrorResponse {"fields":[{"typ":"S","value":"ERROR"},{"typ":"C","value":"34000"},{"typ":"M","value":"portal \"c\" does not exist"}]}
- ReadyForQuery {"status":"I"}
|