Skip to content

Commit 5072b66

Browse files
committed
[from now] 2026/02/13 19:04:57
diff --git a/activerecord/test/cases/adapters/postgresql/bytea_test.rb b/activerecord/test/cases/adapters/postgresql/bytea_test.rb index 1df5e66..5454de9 100644 --- a/activerecord/test/cases/adapters/postgresql/bytea_test.rb +++ b/activerecord/test/cases/adapters/postgresql/bytea_test.rb @@ -110,6 +110,8 @@ def test_via_to_sql end def test_via_to_sql_with_complicating_connection + skip "PostgreSQL 19+ no longer allows setting standard_conforming_strings to OFF" if @connection.database_version >= 190000 + Thread.new do other_conn = ActiveRecord::Base.lease_connection other_conn.execute("SET standard_conforming_strings = off")
1 parent 58c94cb commit 5072b66

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

activerecord/test/cases/adapters/postgresql/bytea_test.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ def test_via_to_sql
110110
end
111111

112112
def test_via_to_sql_with_complicating_connection
113+
skip "PostgreSQL 19+ no longer allows setting standard_conforming_strings to OFF" if @connection.database_version >= 190000
114+
113115
Thread.new do
114116
other_conn = ActiveRecord::Base.lease_connection
115117
other_conn.execute("SET standard_conforming_strings = off")

0 commit comments

Comments
 (0)