diff options
author | Matthew Draper <matthew@trebex.net> | 2017-03-23 06:07:10 +1030 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-23 06:07:10 +1030 |
commit | e8417de1d853bed2dc41129ecb3a9f3072f4ded6 (patch) | |
tree | 0c9e21e7d62ac2a491b7253bce7a74ef60878819 /activerecord/test | |
parent | f1a2a94f54594243d0d59fcce0d42431bed4be28 (diff) | |
parent | 03224b12b8e81b23d529614b5f82166825e185d6 (diff) | |
download | rails-e8417de1d853bed2dc41129ecb3a9f3072f4ded6.tar.gz rails-e8417de1d853bed2dc41129ecb3a9f3072f4ded6.tar.bz2 rails-e8417de1d853bed2dc41129ecb3a9f3072f4ded6.zip |
Merge pull request #28531 from yahonda/suppress_pg_warning
Suppress `WARNING: nonstandard use of \\ in a string literal` warning
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/adapters/postgresql/bytea_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/cases/adapters/postgresql/bytea_test.rb b/activerecord/test/cases/adapters/postgresql/bytea_test.rb index 505c297cd4..99175e8091 100644 --- a/activerecord/test/cases/adapters/postgresql/bytea_test.rb +++ b/activerecord/test/cases/adapters/postgresql/bytea_test.rb @@ -89,6 +89,7 @@ class PostgresqlByteaTest < ActiveRecord::PostgreSQLTestCase Thread.new do other_conn = ActiveRecord::Base.connection other_conn.execute("SET standard_conforming_strings = off") + other_conn.execute("SET escape_string_warning = off") end.join test_via_to_sql |