2
0

Rename Oid to OID

This commit is contained in:
Jack Christensen
2016-08-02 13:31:55 -05:00
parent 2bf3fac594
commit 214443deb7
16 changed files with 366 additions and 363 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ func Example_JSON() {
return
}
if _, ok := conn.PgTypes[pgx.JsonOid]; !ok {
if _, ok := conn.PgTypes[pgx.JsonOID]; !ok {
// No JSON type -- must be running against very old PostgreSQL
// Pretend it works
fmt.Println("John", 42)