mirror of https://github.com/jackc/pgx.git
Skip TestCopyFrom on CockroachDB
parent
c48dd7e1f8
commit
fb83fb0cc3
|
@ -2837,6 +2837,10 @@ func TestCopyFrom(t *testing.T) {
|
||||||
pgConn, err := pgconn.ConnectConfig(context.Background(), config)
|
pgConn, err := pgconn.ConnectConfig(context.Background(), config)
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
|
|
||||||
|
if pgConn.ParameterStatus("crdb_version") != "" {
|
||||||
|
t.Skip("Server does support COPY FROM")
|
||||||
|
}
|
||||||
|
|
||||||
setupSQL := `create temporary table t (
|
setupSQL := `create temporary table t (
|
||||||
id text primary key,
|
id text primary key,
|
||||||
n int not null
|
n int not null
|
||||||
|
|
Loading…
Reference in New Issue