Skip to content
Snippets Groups Projects
Commit e0faed4b authored by Bruce Momjian's avatar Bruce Momjian
Browse files

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
parent cc574c44
No related branches found
No related tags found
No related merge requests found
...@@ -170,7 +170,7 @@ class pgdbCursor: ...@@ -170,7 +170,7 @@ class pgdbCursor:
self.__source = src self.__source = src
self.description = None self.description = None
self.rowcount = -1 self.rowcount = -1
self.arraysize = 5 self.arraysize = 1
def close(self): def close(self):
self.__source.close() self.__source.close()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment