From 7f5e702d1a2d8189401bedda873553027449c93d Mon Sep 17 00:00:00 2001 From: Jack Christensen Date: Sat, 24 Aug 2019 21:04:40 -0500 Subject: [PATCH] Fix benchmarks --- bench_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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,