Skip to content

Commit

Permalink
Skip multirange tests on PG < 14
Browse files Browse the repository at this point in the history
  • Loading branch information
jackc committed May 19, 2024
1 parent b4f61c9 commit d0475ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions stdlib/sql_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,7 @@ func TestConnQueryPGTypeRange(t *testing.T) {
func TestConnQueryPGTypeMultirange(t *testing.T) {
testWithAllQueryExecModes(t, func(t *testing.T, db *sql.DB) {
skipCockroachDB(t, db, "Server does not support int4range")
skipPostgreSQLVersionLessThan(t, db, 14)

var r pgtype.Multirange[pgtype.Range[pgtype.Int4]]
err := db.QueryRow("select int4multirange(int4range(1, 5), int4range(7,9))").Scan(&r)
Expand Down

0 comments on commit d0475ca

Please sign in to comment.