This PR solves interference problem of placeholders. They are saved in the connection, but were never removed, only replaced. That means, they could affect other queries on the same connection.
Solve this, by removing the placeholders at the end of the query: when ReadyForQuery arrives.
I didn't write a new test for this, because 1) it already existed as a part of another test and 2) it's really hard to reproduce.
This PR solves interference problem of placeholders. They are saved in the connection, but were never removed, only replaced. That means, they could affect other queries on the same connection.
Solve this, by removing the placeholders at the end of the query: when
ReadyForQuery
arrives.I didn't write a new test for this, because 1) it already existed as a part of another test and 2) it's really hard to reproduce.
Checklist