Make sure assertion passes for postgresql.

Similar to #L191, otherwise the test will sometimes fail in postgresql because `SHOW max_identifier_length` query is executed.

cc @senny
doesn't `ignore_none` default to `false` anyway?

https://github.com/rails/rails/blob/master/activerecord/test/cases/test_case.rb#L50