#29886: postgres expression comparisons not using proper escaping -------------------------------------+------------------------------------- Reporter: Tom McClure | Owner: Jayantha | Gumballi Type: Bug | Status: assigned Component: Database layer | Version: 2.1 (models, ORM) | Severity: Normal | Resolution: Keywords: | Triage Stage: | Unreviewed Has patch: 1 | Needs documentation: 0 Needs tests: 1 | Patch needs improvement: 0 Easy pickings: 1 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by Herbert Fortes): The test has: {{{ try: if conforming_strings_state == 'on': cur.execute('SET standard_conforming_strings TO OFF;') }}} It needs a fix here to get back the config: {{{ finally: if conforming_strings_state == 'on': cur.execute('SET standard_conforming_strings TO ON;') }}} -- Ticket URL: <https://code.djangoproject.com/ticket/29886#comment:18> 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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/064.cf92c6da8dec8915f0e8efbedd8e4ae5%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.