]> granicus.if.org Git - postgresql/commitdiff
Small patch to correct the default arraysize associated
authorBruce Momjian <bruce@momjian.us>
Mon, 3 Jun 2002 17:42:11 +0000 (17:42 +0000)
committerBruce Momjian <bruce@momjian.us>
Mon, 3 Jun 2002 17:42:11 +0000 (17:42 +0000)
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

index 7c6b89dfc3031d2f515daf17e7a4c794614f8f2a..6ae63b9b6812912d77bdd8e988e87c1b920d4109 100644 (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()