@@ -11,8 +11,6 @@ import (
11
11
)
12
12
13
13
func TestCompositeCodecTranscode (t * testing.T ) {
14
- skipCockroachDB (t , "Server does not support composite types (see https://github.com/cockroachdb/cockroach/issues/27792)" )
15
-
16
14
defaultConnTestRunner .RunTest (context .Background (), t , func (ctx context.Context , t testing.TB , conn * pgx.Conn ) {
17
15
18
16
_ , err := conn .Exec (ctx , `drop type if exists ct_test;
@@ -91,8 +89,6 @@ func (p *point3d) ScanIndex(i int) any {
91
89
}
92
90
93
91
func TestCompositeCodecTranscodeStruct (t * testing.T ) {
94
- skipCockroachDB (t , "Server does not support composite types (see https://github.com/cockroachdb/cockroach/issues/27792)" )
95
-
96
92
defaultConnTestRunner .RunTest (context .Background (), t , func (ctx context.Context , t testing.TB , conn * pgx.Conn ) {
97
93
98
94
_ , err := conn .Exec (ctx , `drop type if exists point3d;
@@ -128,8 +124,6 @@ create type point3d as (
128
124
}
129
125
130
126
func TestCompositeCodecTranscodeStructWrapper (t * testing.T ) {
131
- skipCockroachDB (t , "Server does not support composite types (see https://github.com/cockroachdb/cockroach/issues/27792)" )
132
-
133
127
defaultConnTestRunner .RunTest (context .Background (), t , func (ctx context.Context , t testing.TB , conn * pgx.Conn ) {
134
128
135
129
_ , err := conn .Exec (ctx , `drop type if exists point3d;
@@ -169,8 +163,6 @@ create type point3d as (
169
163
}
170
164
171
165
func TestCompositeCodecDecodeValue (t * testing.T ) {
172
- skipCockroachDB (t , "Server does not support composite types (see https://github.com/cockroachdb/cockroach/issues/27792)" )
173
-
174
166
defaultConnTestRunner .RunTest (context .Background (), t , func (ctx context.Context , t testing.TB , conn * pgx.Conn ) {
175
167
176
168
_ , err := conn .Exec (ctx , `drop type if exists point3d;
@@ -214,7 +206,7 @@ create type point3d as (
214
206
//
215
207
// https://github.com/jackc/pgx/issues/1576
216
208
func TestCompositeCodecTranscodeStructWrapperForTable (t * testing.T ) {
217
- skipCockroachDB (t , "Server does not support composite types (see https://github.com/cockroachdb/cockroach/issues/27792) " )
209
+ skipCockroachDB (t , "Server does not support composite types from table definitions " )
218
210
219
211
defaultConnTestRunner .RunTest (context .Background (), t , func (ctx context.Context , t testing.TB , conn * pgx.Conn ) {
220
212
0 commit comments