This project is archived and is in readonly mode.
cursor.fetchmany() requires the "size" argument instead of using curs.arraysize
Reported by Samuel PHAN | December 21st, 2011 @ 10:05 AM
Depending on the connection factory you use, the
cursor.fetchmany()
may requires the size
argument instead of using cursor.arraysize
.
psycopg2.extras.RealDictConnection
: KO - thecursor.fetchmany()
requires thesize
argument.psycopg2.extras.DictConnection
: KO - thecursor.fetchmany()
requires thesize
argument.psycopg2.extras.NamedTupleConnection
: KO - thecursor.fetchmany()
requires thesize
argument.psycopg2._psycopg.connection
: OK.
psycopg2 version 2.4.4, Ubuntu 10.10
Comments and changes to this ticket
-
Daniele Varrazzo January 10th, 2012 @ 01:35 AM
- State changed from new to resolved
Thank you for reporting. Fixed in my devel branch.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
<b>WARNING:</b> the informations in this tracker are archived. Please submit new tickets or comments to <a href="https://github.com/psycopg/psycopg2/issues">the new tracker</a>.
<br/>
Psycopg is the most used PostgreSQL adapter for the Python programming language. At the core it fully implements the Python DB API 2.0 specifications. Several extensions allow access to many of the features offered by PostgreSQL.