summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian2002-06-03 17:42:11 +0000
committerBruce Momjian2002-06-03 17:42:11 +0000
commite0faed4bee1faf0b5a7c77288fb7d45257df0d08 (patch)
treeb0ad239df974e5f4a065c9b2f26b87379a6e51ea
parentcc574c4482db6b0c1b792bd8b702619b938ef22d (diff)
Small patch to correct the default arraysize associated
with the Cursor object's fetchmany() method. The API and inline documentation state that the default is 1. It currently defaults to 5. Patrick Macdonald
-rw-r--r--src/interfaces/python/pgdb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/interfaces/python/pgdb.py b/src/interfaces/python/pgdb.py
index 7c6b89dfc30..6ae63b9b681 100644
--- a/src/interfaces/python/pgdb.py
+++ b/src/interfaces/python/pgdb.py
@@ -170,7 +170,7 @@ class pgdbCursor:
self.__source = src
self.description = None
self.rowcount = -1
- self.arraysize = 5
+ self.arraysize = 1
def close(self):
self.__source.close()