mirror of
https://github.com/postgres/postgres.git
synced 2026-03-29 22:04:29 -04: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:
parent
cc574c4482
commit
e0faed4bee
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue