rails/rails — pull request #14392 by Alamoz (2014-03-15 09:41:11+00:00)
Title: Add 'DISCARD ALL' to PostgreSQLAdapter#clear_cache

Reset Postgres connection session state (which includes prepared statements) when checking in an active connection.