#17266: psycopg2 backend should use get_parameter_status to check if SET TIME ZONE is needed -------------------------------------+------------------------------------- Reporter: akaariai | Owner: aaugustin Type: | Status: new Cleanup/optimization | Version: Component: Database layer | Resolution: (models, ORM) | Triage Stage: Accepted Severity: Normal | Needs documentation: 0 Keywords: | Patch needs improvement: 1 Has patch: 1 | UI/UX: 0 Needs tests: 0 | Easy pickings: 0 | -------------------------------------+-------------------------------------
Comment (by aaugustin): Thanks, I was just missing this piece of information: > late versions (at least 2.4.2) of psycopg are smart enough to skip the SET queries for client_encoding and transaction_isolation if they are already correct I'm going to rework the patch slightly and commit it. -- Ticket URL: <https://code.djangoproject.com/ticket/17266#comment:7> 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 post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.