mirror of
https://github.com/jackc/pgx.git
synced 2025-05-31 11:42:24 +00:00
Skip test with serial on CockroachDB
This commit is contained in:
parent
c8c590b5e1
commit
4e313583ab
@ -18,6 +18,10 @@ func TestConnSendBatch(t *testing.T) {
|
||||
conn := mustConnectString(t, os.Getenv("PGX_TEST_DATABASE"))
|
||||
defer closeConn(t, conn)
|
||||
|
||||
if conn.PgConn().ParameterStatus("crdb_version") != "" {
|
||||
t.Skip("Server serial type is incompatible with test")
|
||||
}
|
||||
|
||||
sql := `create temporary table ledger(
|
||||
id serial primary key,
|
||||
description varchar not null,
|
||||
|
Loading…
x
Reference in New Issue
Block a user