Skip to content

Commit

Permalink
Skip xid8 test on PG < 13 and CRDB
Browse files Browse the repository at this point in the history
  • Loading branch information
jackc committed Oct 5, 2024
1 parent f0783c6 commit 32a6b1b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pgtype/uint64_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ import (
)

func TestUint64Codec(t *testing.T) {
skipCockroachDB(t, "Server does not support xid8 (https://github.com/cockroachdb/cockroach/issues/36815)")
skipPostgreSQLVersionLessThan(t, 13)

pgxtest.RunValueRoundTripTests(context.Background(), t, defaultConnTestRunner, pgxtest.KnownOIDQueryExecModes, "xid8", []pgxtest.ValueRoundTripTest{
{
pgtype.Uint64{Uint64: 1 << 36, Valid: true},
Expand Down

0 comments on commit 32a6b1b

Please sign in to comment.