startup.pt 570 B

1234567891011121314151617181920212223
  1. # Test that a first query error doesn't ignore startup options.
  2. send conn=c cluster=mz_catalog_server
  3. Query {"query": "SELECT wat"}
  4. ----
  5. until conn=c
  6. ReadyForQuery
  7. ----
  8. ErrorResponse {"fields":[{"typ":"S","value":"ERROR"},{"typ":"C","value":"XX000"},{"typ":"M","value":"column \"wat\" does not exist"}]}
  9. ReadyForQuery {"status":"I"}
  10. send conn=c
  11. Query {"query": "SHOW cluster"}
  12. ----
  13. until conn=c
  14. ReadyForQuery
  15. ----
  16. RowDescription {"fields":[{"name":"cluster"}]}
  17. DataRow {"fields":["mz_catalog_server"]}
  18. CommandComplete {"tag":"SELECT 1"}
  19. ReadyForQuery {"status":"I"}