Fixed #34932 -- Restored varchar_pattern_ops/text_pattern_ops index creation when deterministic collaction is set.

Regression in f3f9d03edf (4.2) and
8ed25d65ea (5.0).
This commit is contained in:
Tom Carrick 2023-10-27 15:46:05 +02:00 committed by Mariusz Felisiak
parent 46df3ab244
commit 34b411762b
4 changed files with 123 additions and 3 deletions

View file

@ -13,3 +13,7 @@ Bugfixes
* Fixed a regression in Django 4.2 that caused a crash of
``QuerySet.aggregate()`` with aggregates referencing expressions containing
subqueries (:ticket:`34798`).
* Restored, following a regression in Django 4.2, creating
``varchar/text_pattern_ops`` indexes on ``CharField`` and ``TextField`` with
deterministic collations on PostgreSQL (:ticket:`34932`).