mirror of https://github.com/jackc/pgx.git
zeronull.Timestamptz should use pgtype.Timestamptz
https://github.com/jackc/pgx/issues/1694pull/1697/head
parent
e665f74c99
commit
492283b90b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue