Commit ace5b54
committed
Skip test_via_to_sql_with_complicating_connection for PostgreSQL 19+
PostgreSQL 19 no longer allows setting standard_conforming_strings to OFF.
```sql
postgres=# SET standard_conforming_strings = off;
ERROR: non-standard string literals are not supported
postgres=# select version();
version
--------------------------------------------------------------------
PostgreSQL 19devel on x86_64-linux, compiled by gcc-15.2.1, 64-bit
(1 row)
```
According to rails#14632, the purpose of the failing test is to ensure that the unescape_bytea method is per-connection, not global.
Since PostgreSQL 19dev no longer allows setting standard_conforming_strings to OFF, the value will no longer vary per connection,
so we can skip this test when the PostgreSQL version is 19 or higher.
Fix rails#567891 parent 58c94cb commit ace5b54
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| 113 | + | |
| 114 | + | |
113 | 115 | | |
114 | 116 | | |
115 | 117 | | |
| |||
0 commit comments