Add 'DISCARD ALL' to PostgreSQLAdapter#clear_cache #14392

Closed
wants to merge 1 commit into
from

Projects

None yet

5 participants

@Alamoz
Alamoz commented Mar 15, 2014

Reset Postgres connection session state (which includes prepared statements) when checking in an active connection. See discussion at #14037

@senny senny added the PostgreSQL label Mar 17, 2014
Owner

👎

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.)

Owner

Actually travis already broke 😄

Alamoz commented Mar 19, 2014

Thanks. Regardless, there is a bug in that file, which I just fixed in PR #14430

Alamoz commented Mar 19, 2014

Ah, pg gem reset, my bad.

@Alamoz Alamoz closed this Mar 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment