mirror of
https://github.com/jackc/pgx.git
synced 2025-05-23 16:01:06 +00:00
Fixed typo for uint64 data loss checks' error
This commit is contained in:
parent
0ea1a5245c
commit
7f9f79656b
@ -713,7 +713,7 @@ func Decode(vr *ValueReader, d interface{}) error {
|
||||
return fmt.Errorf("Can't convert OID %v to uint64", vr.Type().DataType)
|
||||
}
|
||||
if valInt < 0 {
|
||||
return fmt.Errorf("%d is less than zero for uint32", valInt)
|
||||
return fmt.Errorf("%d is less than zero for uint64", valInt)
|
||||
}
|
||||
*v = uint64(valInt)
|
||||
case *Oid:
|
||||
|
Loading…
x
Reference in New Issue
Block a user