Changes between Initial Version and Version 27 of Ticket #3461


Ignore:
Timestamp:
Feb 8, 2018, 4:46:21 AM (6 years ago)
Author:
Asif Saifuddin Auvi
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3461

    • Property Triage Stage UnreviewedAccepted
    • Property Needs documentation set
    • Property Cc metajack@… Ramiro Morales manel.clos@… added
    • Property Owner changed from nobody to Asif Saifuddin Auvi
    • Property SeverityNormal
    • Property TypeBug
    • Property UI/UX unset
    • Property Easy pickings unset
    • Property Status newassigned
  • Ticket #3461 – Description

    initial v27  
    1 Currently the DatabaseWrapper (at least for the postgresql_psycopg2end) does not pass args and kwargs for cursor() calls to the underlying database adapter.  This makes it impossible to use the adapter fully at the low level.  For example, to use dict cursors in psycopg2 you have to pass a different cursor factory via the cursor_factory keyword argument to cursor().  The attached patch passes through args and kwargs for cursor() calls.
     1Currently the DatabaseWrapper (at least for the postgresql) does not pass args and kwargs for cursor() calls to the underlying database adapter.  This makes it impossible to use the adapter fully at the low level.  For example, to use dict cursors in psycopg2 you have to pass a different cursor factory via the cursor_factory keyword argument to cursor().  The attached patch passes through args and kwargs for cursor() calls.
Back to Top