Fix benchmarks

This commit is contained in:
Jack Christensen 2019-08-24 21:04:40 -05:00
parent 12c1167147
commit 7f5e702d1a

View File

@ -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,