zeronull.Timestamptz should use pgtype.Timestamptz
https://github.com/jackc/pgx/issues/1694
This commit is contained in:
@@ -46,7 +46,7 @@ func (ts *Timestamptz) Scan(src any) error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
var nullable pgtype.Timestamp
|
var nullable pgtype.Timestamptz
|
||||||
err := nullable.Scan(src)
|
err := nullable.Scan(src)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
|||||||
Reference in New Issue
Block a user