提交 e0faed4b 编写于 作者: B Bruce Momjian

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
上级 cc574c44
......@@ -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()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册