#35704: AddIndexConcurrently + RenameIndex incorrectly reduces to AddIndex
----------------------------------------+------------------------------
               Reporter:  Adam Johnson  |          Owner:  Adam Johnson
                   Type:  Bug           |         Status:  assigned
              Component:  Migrations    |        Version:  dev
               Severity:  Normal        |       Keywords:
           Triage Stage:  Unreviewed    |      Has patch:  0
    Needs documentation:  0             |    Needs tests:  0
Patch needs improvement:  0             |  Easy pickings:  0
                  UI/UX:  0             |
----------------------------------------+------------------------------
 A migration with `AddIndexConcurrently` and `RenameIndex` for the same
 index will turn into an `AddIndex`. This means that, for example,
 `optimizemigration` can change a migration to use extra locking, which may
 be unsafe.

 (Discovered after working on some other missing optimizations in #35700.)
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35704>
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/010701917b53f1cf-23e696e2-27b0-41ad-9860-254fd7219f36-000000%40eu-central-1.amazonses.com.

Reply via email to