From e0faed4bee1faf0b5a7c77288fb7d45257df0d08 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 3 Jun 2002 17:42:11 +0000 Subject: [PATCH] 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 --- src/interfaces/python/pgdb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.40.0