summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian2002-06-03 17:42:11 +0000
committerBruce Momjian2002-06-03 17:42:11 +0000
commitccd397a70052b8c7103333a9b105f229dbf44539 (patch)
tree6727ebe2fa7fba33813e19e1786ad4e43e732d75
parentfea2eed0a4d0f33853fbe4f4838ffc16f3440ff3 (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 7c6b89dfc3..6ae63b9b68 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()