#35021: Debug query capturing on psycopg3 disregards execute wrappers
-------------------------------------+-------------------------------------
Reporter: Ran Benita | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: Database layer | Version: 5.0
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Florian Apolloner):
Replying to [comment:4 Daniele Varrazzo]:
> I understand that Django use `ClientCursor` only, right? I think that
the first iterations of the backend used to use server-side-binding
cursors and maybe the current implementation of `last_executed_query()`
was catered to that.
Django defaults to `ClientCursor` but it can be changed to server-side-
binding cursors via settings.
--
Ticket URL: <https://code.djangoproject.com/ticket/35021#comment:5>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018c599ab197-e8b62d9e-dc8f-4046-84fb-17fcee73beb8-000000%40eu-central-1.amazonses.com.