mirror of
https://github.com/postgres/postgres.git
synced 2025-06-30 21:42:05 +03:00
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
This commit is contained in:
@ -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()
|
||||
|
Reference in New Issue
Block a user