Changes between Initial Version and Version 27 of Ticket #3461
- Timestamp:
- Feb 8, 2018, 4:46:21 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #3461
- Property Triage Stage Unreviewed → Accepted
- Property Needs documentation set
- Property Cc added
- Property Owner changed from to
- Property Severity → Normal
- Property Type → Bug
- Property UI/UX unset
- Property Easy pickings unset
- Property Status new → assigned
-
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.1 Currently 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.