Skip to content

Commit 2d1c4ef

Browse files
committed
Skip tests on CockroachDB
1 parent 1a5fa7f commit 2d1c4ef

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎pgtype/composite_test.go‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,8 @@ func (p *parent) ScanIndex(i int) any {
197197
// https://github.com/jackc/pgx/issues/2453
198198
func TestCompositeCodecTranscodeStructWithNilPointer(t *testing.T) {
199199
defaultConnTestRunner.RunTest(context.Background(), t, func(ctx context.Context, t testing.TB, conn *pgx.Conn) {
200+
skipCockroachDB(t, "Server does not support nested composite types")
201+
200202
_, err := conn.Exec(ctx, `drop type if exists parent;
201203
drop type if exists point3d;
202204
@@ -274,6 +276,8 @@ func (p *parentWithSlice) ScanIndex(i int) any {
274276
// https://github.com/jackc/pgx/issues/2453
275277
func TestCompositeCodecTranscodeStructWithSliceOfNilPointer(t *testing.T) {
276278
defaultConnTestRunner.RunTest(context.Background(), t, func(ctx context.Context, t testing.TB, conn *pgx.Conn) {
279+
skipCockroachDB(t, "Server does not support nested composite types")
280+
277281
_, err := conn.Exec(ctx, `drop type if exists parent;
278282
drop type if exists point3d;
279283

0 commit comments

Comments
 (0)