2
0

Simplify CockroachDB detection

This commit is contained in:
Jack Christensen
2021-02-27 10:40:06 -06:00
parent 09371f21d0
commit 1dc7133a63
8 changed files with 31 additions and 71 deletions
+1 -3
View File
@@ -742,9 +742,7 @@ func TestPointerPointer(t *testing.T) {
t.Parallel()
testWithAndWithoutPreferSimpleProtocol(t, func(t *testing.T, conn *pgx.Conn) {
if conn.PgConn().ParameterStatus("crdb_version") != "" {
t.Skip("Server auto converts ints to bigint and test relies on exact types")
}
skipCockroachDB(t, conn, "Server auto converts ints to bigint and test relies on exact types")
type allTypes struct {
s *string