2
0

zeronull.Timestamptz should use pgtype.Timestamptz

https://github.com/jackc/pgx/issues/1694
This commit is contained in:
Jack Christensen
2023-07-22 08:35:32 -05:00
parent e665f74c99
commit 492283b90b
+1 -1
View File
@@ -46,7 +46,7 @@ func (ts *Timestamptz) Scan(src any) error {
return nil
}
var nullable pgtype.Timestamp
var nullable pgtype.Timestamptz
err := nullable.Scan(src)
if err != nil {
return err