params.pt 260 B

1234567891011121314
  1. # Test that invalid query params are rejected.
  2. send
  3. Parse {"query": "SELECT $1 + 1"}
  4. Bind {"values": ["a"]}
  5. Sync
  6. ----
  7. until err_field_typs=S
  8. ReadyForQuery
  9. ----
  10. ParseComplete
  11. ErrorResponse {"fields":[{"typ":"S","value":"ERROR"}]}
  12. ReadyForQuery {"status":"I"}