#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
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak <felisiak.mariusz@…>):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"42e8cf47c7ee2db238bf91197ea398126c546741" 42e8cf47]:
 {{{
 #!CommitTicketReference repository=""
 revision="42e8cf47c7ee2db238bf91197ea398126c546741"
 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.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32369#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/066.b9c36c43f42838b4757594ea28d957b1%40djangoproject.com.

Reply via email to