Versions in this module Expand all Collapse all v0 v0.0.2 Nov 15, 2024 Changes in this version + var AllQueryExecModes = []pgx.QueryExecMode + var KnownOIDQueryExecModes = []pgx.QueryExecMode + func RunValueRoundTripTests(ctx context.Context, t testing.TB, ctr ConnTestRunner, ...) + func RunWithQueryExecModes(ctx context.Context, t *testing.T, ctr ConnTestRunner, ...) + func SkipCockroachDB(t testing.TB, conn *pgx.Conn, msg string) + func SkipPostgreSQLVersionLessThan(t testing.TB, conn *pgx.Conn, minVersion int64) + type ConnTestRunner struct + AfterConnect func(ctx context.Context, t testing.TB, conn *pgx.Conn) + AfterTest func(ctx context.Context, t testing.TB, conn *pgx.Conn) + CloseConn func(ctx context.Context, t testing.TB, conn *pgx.Conn) + CreateConfig func(ctx context.Context, t testing.TB) *pgx.ConnConfig + func DefaultConnTestRunner() ConnTestRunner + func (ctr *ConnTestRunner) RunTest(ctx context.Context, t testing.TB, ...) + type ValueRoundTripTest struct + Param any + Result any + Test func(any) bool