portals.pt 754 B

123456789101112131415161718192021222324
  1. # Verify that portals are destroyed after a non-Execute command in an implicit
  2. # transaction. This is a Materialize-specific deviation from PostgreSQL to allow
  3. # optimizations for single-statement implicit transactions in the extended
  4. # query protocol.
  5. # See materialize#15255 and materialize#24093.
  6. send
  7. Parse {"query": "VALUES (1), (2)"}
  8. Bind {"portal": "c"}
  9. Execute {"portal": "c", "max_rows": 1}
  10. Parse {"query": "VALUES (1), (2)"}
  11. Execute {"portal": "c", "max_rows": 1}
  12. Sync
  13. ----
  14. until
  15. ReadyForQuery
  16. ----
  17. ParseComplete
  18. BindComplete
  19. DataRow {"fields":["1"]}
  20. PortalSuspended
  21. ParseComplete
  22. ErrorResponse {"fields":[{"typ":"S","value":"ERROR"},{"typ":"C","value":"34000"},{"typ":"M","value":"portal \"c\" does not exist"}]}
  23. ReadyForQuery {"status":"I"}