Reset Postgres connection session state (which includes prepared statements) when checking in an active connection. See discussion at #14037
Add 'DISCARD ALL' to PostgreSQLAdapter#clear_cache
If we want to do a full state reset, this is the wrong place to do it.
(Also, I'm 99% sure that failing to clear @statements will actively break things.)
Actually travis already broke 😄
Thanks. Regardless, there is a bug in that file, which I just fixed in PR #14430
Ah, pg gem reset, my bad.