From 8a09979417d00bd28b8fa104ba958b653a5a0b01 Mon Sep 17 00:00:00 2001 From: Jack Christensen Date: Tue, 10 Oct 2023 22:07:06 -0500 Subject: [PATCH] Skip test on CockroachDB --- stdlib/sql_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stdlib/sql_test.go b/stdlib/sql_test.go index daf77e8c1..1e3db0d35 100644 --- a/stdlib/sql_test.go +++ b/stdlib/sql_test.go @@ -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)