From: Bruce Momjian Date: Mon, 3 Jun 2002 17:42:11 +0000 (+0000) Subject: Small patch to correct the default arraysize associated X-Git-Tag: REL7_3~1460 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e0faed4bee1faf0b5a7c77288fb7d45257df0d08;p=thirdparty%2Fpostgresql.git 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 --- 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()