diff --git a/rows.go b/rows.go index adb6c878..c63f1d9b 100644 --- a/rows.go +++ b/rows.go @@ -243,7 +243,7 @@ func (rows *connRows) Values() ([]interface{}, error) { } if dt, ok := rows.connInfo.DataTypeForOID(fd.DataTypeOID); ok { - value := pgtype.NewValue(dt.Value) + value := dt.Value switch fd.Format { case TextFormatCode: