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
--
Patrick Macdonald
Red Hat CanadaIndex: pgdb.py
===================================================================
RCS file: /projects/cvsroot/pgsql/src/interfaces/python/pgdb.py,v
retrieving revision 1.14
diff -c -r1.14 pgdb.py
*** pgdb.py 2002/05/03 04:11:08 1.14
--- pgdb.py 2002/05/06 15:45:10
***************
*** 170,176 ****
self.__source = src
self.description = None
self.rowcount = -1
! self.arraysize = 5
def close(self):
self.__source.close()
--- 170,176 ----
self.__source = src
self.description = None
self.rowcount = -1
! self.arraysize = 1
def close(self):
self.__source.close()