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
This commit is contained in:
Bruce Momjian 2002-06-03 17:42:11 +00:00
parent cc574c4482
commit e0faed4bee

View File

@ -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()