Skip to content

Commit

Permalink
Skip test on CockroachDB
Browse files Browse the repository at this point in the history
  • Loading branch information
jackc committed Oct 11, 2023
1 parent 7a2b933 commit 8a09979
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions stdlib/sql_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -805,6 +805,8 @@ func TestConnPrepareContextSuccess(t *testing.T) {
// https://github.com/jackc/pgx/issues/1754#issuecomment-1752004634
func TestConnMultiplePrepareAndDeallocate(t *testing.T) {
testWithAllQueryExecModes(t, func(t *testing.T, db *sql.DB) {
skipCockroachDB(t, db, "Server does not support pg_prepared_statements")

sql := "select 42"
stmt1, err := db.PrepareContext(context.Background(), sql)
require.NoError(t, err)
Expand Down

0 comments on commit 8a09979

Please sign in to comment.