class ActiveRecord::PreparedStatementCacheExpired

Raised when PostgreSQL returns โ€˜cached plan must not change result typeโ€™ and we cannot retry gracefully (e.g. inside a transaction)