Related [https://groups.google.com/g/django-
developers/c/nDMnO98nexY/m/cw93-R1bBQAJ discussion] on the django-
developers mailing list.
--
Ticket URL: <https://code.djangoproject.com/ticket/33872>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* owner: (none) => Mariusz Felisiak
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/33872#comment:1>
* stage: Unreviewed => Accepted
Comment:
Accepting based on discussion (+3:-0 I think)
Points were to ensure we document a migration, and perhaps how to avoid
needing the CI field ("...put an index on UPPER and make sure you always
use iexact.")
--
Ticket URL: <https://code.djangoproject.com/ticket/33872#comment:2>
* has_patch: 0 => 1
Comment:
[https://github.com/django/django/pull/15891 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/33872#comment:3>
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/33872#comment:4>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"cb791a2540c289390b68a3ea9c6a79476890bab2" cb791a25]:
{{{
#!CommitTicketReference repository=""
revision="cb791a2540c289390b68a3ea9c6a79476890bab2"
Fixed #33872 -- Deprecated
django.contrib.postgres.fields.CIText/CICharField/CIEmailField/CITextField.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33872#comment:5>
* stage: Ready for checkin => Unreviewed
Comment:
In case my mailing list comment gets lost, I make this as unreviewed and
leave a copy here:
Hi there,
I am sorry that I missed this in the alpha. But to the best of my
knowledge, CITEXT and non-deterministic collations are not the same. They
don't support the same operations and their string comparison operations
are similar, yet not identical.
Furthermore, PostgreSQL doesn't discourage the use of CITEXT, but hints
towards a native alternative. That's maybe more than just a subtle
difference.
99% of all use-cases might be email, but even email LIKE-queries would be
affected (good for +-searches).
Unless we want to drop support for the CITEXT extension, collations might
not be a sufficient replacement.
I'd caution to revert the deprecation and keep support unless we make an
informed decision to drop CITEXT for a 3rd party integration.
Best
Joe!
--
Ticket URL: <https://code.djangoproject.com/ticket/33872#comment:6>
* stage: Unreviewed => Ready for checkin
Comment:
Please don't reopen/change closed tickets. If you want to report a bug,
create a separate ticket.
--
Ticket URL: <https://code.djangoproject.com/ticket/33872#comment:7>
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"04eb1b4567c96ccb167c16a95ca12c336b0c791b" 04eb1b4]:
{{{
#!CommitTicketReference repository=""
revision="04eb1b4567c96ccb167c16a95ca12c336b0c791b"
Refs #33872 -- Removed
django.contrib.postgres.fields.CIText/CICharField/CIEmailField/CITextField.
Per deprecation timeline.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33872#comment:8>