materialize icon indicating copy to clipboard operation
materialize copied to clipboard

pgtest: test invalid param binding

Open maddyblue opened this issue 2 years ago • 0 comments

This fixes the test_bind_params flake.

Testing this with tokio_postgres as the driver causes the driver to return the WrongType error message. Wireshark showed that the bind request was never issued to the server. The test flake must be happening because the driver's type cache either is or isn't yet populated, and so it does end up issuing the bind request to the server which returns the no overload error.

Motivation

  • This PR fixes a previously unreported bug.

Checklist

maddyblue avatar Aug 10 '22 06:08 maddyblue