#34553: Can't create CheckConstraint with percent characters in values on
postgresql due to broken quoting
-------------------------------------+-------------------------------------
     Reporter:  Thomas Kolar         |                    Owner:  Simon
                                     |  Charette
         Type:  Bug                  |                   Status:  assigned
    Component:  Database layer       |                  Version:  4.2
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     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:"e0f8104a968d316925f736e961a63bef73a686b4" e0f8104a]:
 {{{
 #!CommitTicketReference repository=""
 revision="e0f8104a968d316925f736e961a63bef73a686b4"
 Refs #34553 -- Split constraint escaping test in subtests.

 This ensures that constraint violations are tested in isolation from
 each other as an IntegrityError only ensures a least one constraint is
 violated.

 For example, the assertion added in 42e8cf4 break both the
 name_constraint_rhs and the rebate_constraint constraints and thus
 doesn't constitute a proper regression test. Refs #32369.
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34553#comment:9>
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/0107018806ae550a-d2a67fac-d21c-4dcb-8cbe-9af6facf6d35-000000%40eu-central-1.amazonses.com.

Reply via email to