mirror of
https://github.com/jackc/pgx.git
synced 2025-05-31 11:42:24 +00:00
Skip number type sensitive test on CockroachDB
This commit is contained in:
parent
eaf3e84963
commit
44733732e4
@ -586,6 +586,10 @@ func TestConnQueryErrorWhileReturningRows(t *testing.T) {
|
||||
conn := mustConnectString(t, os.Getenv("PGX_TEST_DATABASE"))
|
||||
defer closeConn(t, conn)
|
||||
|
||||
if conn.PgConn().ParameterStatus("crdb_version") != "" {
|
||||
t.Skip("Server uses numeric instead of int")
|
||||
}
|
||||
|
||||
for i := 0; i < 100; i++ {
|
||||
func() {
|
||||
sql := `select 42 / (random() * 20)::integer from generate_series(1,100000)`
|
||||
|
Loading…
x
Reference in New Issue
Block a user