mirror of
https://github.com/jackc/pgx.git
synced 2025-05-19 22:10:32 +00:00
Skip standard_conforming_strings = off test for CockroachDB
This commit is contained in:
parent
6259ade41a
commit
c6f36a886d
@ -1900,6 +1900,10 @@ func TestConnSimpleProtocolRefusesNonStandardConformingStrings(t *testing.T) {
|
||||
conn := mustConnectString(t, os.Getenv("PGX_TEST_DATABASE"))
|
||||
defer closeConn(t, conn)
|
||||
|
||||
if conn.PgConn().ParameterStatus("crdb_version") != "" {
|
||||
t.Skip("Server does not support standard_conforming_strings = off (https://github.com/cockroachdb/cockroach/issues/36215)")
|
||||
}
|
||||
|
||||
mustExec(t, conn, "set standard_conforming_strings to off")
|
||||
|
||||
var expected string
|
||||
|
Loading…
x
Reference in New Issue
Block a user