mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-23 19:39:53 +08: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
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user