mirror of
https://github.com/jackc/pgx.git
synced 2025-05-28 10:12:08 +00:00
Fix renamed constant
This commit is contained in:
parent
39dad2b795
commit
3cc6264dfd
@ -298,7 +298,7 @@ type pgxNullInt64 struct {
|
||||
}
|
||||
|
||||
func (n *pgxNullInt64) ScanPgx(vr *pgx.ValueReader) error {
|
||||
if vr.Type().DataType != pgx.Int8Oid {
|
||||
if vr.Type().DataType != pgx.Int8OID {
|
||||
return pgx.SerializationError(fmt.Sprintf("pgxNullInt64.Scan cannot decode OID %d", vr.Type().DataType))
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user