mirror of https://github.com/jackc/pgx.git
Skip test depending on exact int types on CockroachDB
parent
9fe7962445
commit
fe3a710a5a
|
@ -742,6 +742,10 @@ func TestPointerPointer(t *testing.T) {
|
||||||
t.Parallel()
|
t.Parallel()
|
||||||
|
|
||||||
testWithAndWithoutPreferSimpleProtocol(t, func(t *testing.T, conn *pgx.Conn) {
|
testWithAndWithoutPreferSimpleProtocol(t, func(t *testing.T, conn *pgx.Conn) {
|
||||||
|
if conn.PgConn().ParameterStatus("crdb_version") != "" {
|
||||||
|
t.Skip("Server auto converts ints to bigint and test relies on exact types")
|
||||||
|
}
|
||||||
|
|
||||||
type allTypes struct {
|
type allTypes struct {
|
||||||
s *string
|
s *string
|
||||||
i16 *int16
|
i16 *int16
|
||||||
|
|
Loading…
Reference in New Issue