Fix renamed constant

v3-experimental-deadline-context
Jack Christensen 2017-02-04 11:31:11 -06:00
parent 39dad2b795
commit 3cc6264dfd
1 changed files with 1 additions and 1 deletions

View File

@ -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))
}