diff --git a/bench_test.go b/bench_test.go index ff03e22f..ba955708 100644 --- a/bench_test.go +++ b/bench_test.go @@ -455,12 +455,12 @@ func newBenchmarkWriteTableCopyFromSrc(count int) pgx.CopyFromSource { row: []interface{}{ "varchar_1", "varchar_2", - pgtype.Text{}, + &pgtype.Text{Status: pgtype.Null}, time.Date(2000, 1, 1, 0, 0, 0, 0, time.Local), - pgtype.Date{}, + &pgtype.Date{Status: pgtype.Null}, 1, 2, - pgtype.Int4{}, + &pgtype.Int4{Status: pgtype.Null}, time.Date(2001, 1, 1, 0, 0, 0, 0, time.Local), time.Date(2002, 1, 1, 0, 0, 0, 0, time.Local), true,