projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e38246a
)
Correction to last patch. As per the DB-API spec, we need to return None
author
D'Arcy J.M. Cain
Wed, 8 Jan 2003 13:42:16 +0000
(13:42 +0000)
committer
D'Arcy J.M. Cain
Wed, 8 Jan 2003 13:42:16 +0000
(13:42 +0000)
here, not -1.
src/interfaces/python/pgdb.py
patch
|
blob
|
blame
|
history
diff --git
a/src/interfaces/python/pgdb.py
b/src/interfaces/python/pgdb.py
index 9a37cce7ccbb0af37e7fd7b10e77b6b45b63fdcb..848cb50940748abfa05b95e552e501a2b074445b 100644
(file)
--- a/
src/interfaces/python/pgdb.py
+++ b/
src/interfaces/python/pgdb.py
@@
-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