From 3cc6264dfdfea2cc01b05b8ca18ad733b26c7ec9 Mon Sep 17 00:00:00 2001 From: Jack Christensen Date: Sat, 4 Feb 2017 11:31:11 -0600 Subject: [PATCH] Fix renamed constant --- query_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/query_test.go b/query_test.go index f5250589..15f57e49 100644 --- a/query_test.go +++ b/query_test.go @@ -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)) }