2
0

Skip TestCopyFrom on CockroachDB

This commit is contained in:
Jack Christensen
2022-10-01 10:04:15 -05:00
parent c48dd7e1f8
commit fb83fb0cc3
+4
View File
@@ -2837,6 +2837,10 @@ func TestCopyFrom(t *testing.T) {
pgConn, err := pgconn.ConnectConfig(context.Background(), config)
require.NoError(t, err)
if pgConn.ParameterStatus("crdb_version") != "" {
t.Skip("Server does support COPY FROM")
}
setupSQL := `create temporary table t (
id text primary key,
n int not null