diff options
| author | Gastón Avila <avila.gas@gmail.com> | 2024-09-04 17:32:40 -0300 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2024-09-11 14:36:56 +0200 |
| commit | c3ca6075cc0ad425bcf905fe14062f38eb9fbcbf (patch) | |
| tree | de7bdb8aa20ef8916d48dfe434de32286601b978 /docs | |
| parent | 38c206515494cb28c48f77c10145a8aa9a172629 (diff) | |
Fixed #35732 -- Wrapped ConcatPair expression in parentheses to ensure operator precedence.
When ConcatPair was updated to use || this lost the implicit wrapping from CONCAT(...).
This broke the WHERE clauses when used in combination with PostgreSQL trigram similarity.
Regression in 6364b6ee1071381eb3a23ba6b821fc0d6f0fce75.
Co-authored-by: Emiliano Cuenca <106986074+emicuencac@users.noreply.github.com>
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/5.1.2.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/releases/5.1.2.txt b/docs/releases/5.1.2.txt index 234c9e0bd5..1cf3f9df09 100644 --- a/docs/releases/5.1.2.txt +++ b/docs/releases/5.1.2.txt @@ -9,4 +9,6 @@ Django 5.1.2 fixes several bugs in 5.1.1. Bugfixes ======== -* ... +* Fixed a regression in Django 5.1 that caused a crash when using the + PostgreSQL lookup :lookup:`trigram_similar` on output fields from ``Concat`` + (:ticket:`35732`). |
