Would rather not. That would fill up production logs with thousands of
warnings a second.

On Tuesday, March 4, 2014, Yves Senn <notifications@github.com> wrote:

> In
> activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb:
>
> > @@ -143,7 +143,7 @@ def exec_query(sql, name = 'SQL', binds = [])
> >              ftype = result.ftype i
> >              fmod  = result.fmod i
> >              types[fname] = type_map.fetch(ftype, fmod) { |oid, mod|
> > -              warn "unknown OID: #{fname}(#{oid}) (#{sql})"
> > +              ActiveRecord::Base.logger.debug "unknown OID: #{fname}(#{oid}) (#{sql})"
>
> can we use warn instead of debug? This shouldn't write to stderr as warndid.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/rails/rails/pull/14275/files#r10261257>
> .
>