mirror of
https://github.com/postgres/postgres.git
synced 2025-05-02 11:44:50 +03:00
Correction to last patch. As per the DB-API spec, we need to return None
here, not -1.
This commit is contained in:
parent
e38246a643
commit
6f14e2771a
@ -155,7 +155,7 @@ class pgdbTypeCache:
|
||||
# have to be prepended by the caller.
|
||||
res = (
|
||||
res[0],
|
||||
-1, string.atoi(res[1]),
|
||||
None, string.atoi(res[1]),
|
||||
None, None, None
|
||||
)
|
||||
self.__type_cache[oid] = res
|
||||
|
Loading…
x
Reference in New Issue
Block a user