#32369: CheckConstraints with pattern lookups and expressions as right-hand
sides
crash on Oracle, MySQL, and PostgreSQL.
-------------------------------------+-------------------------------------
Reporter: Jaroslav Semančík | Owner: Simon
| Charette
Type: Bug | Status: closed
Component: Database layer | Version: 3.1
(models, ORM) |
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"9607e3a0cc4b812a4a1ce0e693357902408fc0b2" 9607e3a0]:
{{{
#!CommitTicketReference repository=""
revision="9607e3a0cc4b812a4a1ce0e693357902408fc0b2"
[3.2.x] Fixed #32369 -- Fixed adding check constraints with pattern
lookups and expressions as rhs.
This disables interpolation of constraint creation statements. Since
Constraint.create_sql interpolates its parameters instead of deferring
this responsibility to the backend connection it must disable
connection level parameters interpolation.
Backport of 42e8cf47c7ee2db238bf91197ea398126c546741 from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/32369#comment:6>
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/066.f78f1e061001ae8226153a1e049fb00a%40djangoproject.com.