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
ecpg_big_bison
Bruce Momjian 24 years ago
parent cc574c4482
commit e0faed4bee
  1. 2
      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()

Loading…
Cancel
Save