Skip TestCopyFrom on CockroachDB
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user