#34898: Adding non-deterministic collations to unique CharFields crashes on
PostgreSQL.
-------------------------------------+-------------------------------------
     Reporter:  Mariusz Felisiak     |                    Owner:  Tom
                                     |  Carrick
         Type:  Bug                  |                   Status:  assigned
    Component:  Migrations           |                  Version:  4.2
     Severity:  Normal               |               Resolution:
     Keywords:  PostgreSQL           |             Triage Stage:  Accepted
  collation                          |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Tom Carrick):

 I agree that it's consistent. What I don't think is a good idea though, is
 dropping and recreating the entire index. This could take a fairly long
 time on some databases, and it can be quite surprising that a change to
 the collation would cause another operation that takes some time.

 I can have a look though. Maybe we can at least do it concurrently.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34898#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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018bd22da9b8-927402db-01d2-4530-b779-85989f407285-000000%40eu-central-1.amazonses.com.

Reply via email to