mirror of https://github.com/jackc/pgx.git
Skip testing circle type on CockroachDB
parent
c588c47ddd
commit
80e7f6b0d3
|
@ -1795,6 +1795,8 @@ func TestConnSimpleProtocol(t *testing.T) {
|
||||||
// Test high-level type
|
// Test high-level type
|
||||||
|
|
||||||
{
|
{
|
||||||
|
if conn.PgConn().ParameterStatus("crdb_version") == "" {
|
||||||
|
// CockroachDB doesn't support circle type.
|
||||||
expected := pgtype.Circle{P: pgtype.Vec2{1, 2}, R: 1.5, Status: pgtype.Present}
|
expected := pgtype.Circle{P: pgtype.Vec2{1, 2}, R: 1.5, Status: pgtype.Present}
|
||||||
actual := expected
|
actual := expected
|
||||||
err := conn.QueryRow(
|
err := conn.QueryRow(
|
||||||
|
@ -1810,6 +1812,7 @@ func TestConnSimpleProtocol(t *testing.T) {
|
||||||
t.Errorf("expected %v got %v", expected, actual)
|
t.Errorf("expected %v got %v", expected, actual)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Test multiple args in single query
|
// Test multiple args in single query
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue