mirror of
https://github.com/django/django.git
synced 2025-11-25 05:04:26 +00:00
Fixed #33992 -- Fixed queryset crash when aggregating over a group containing Exists.
A more in-depth solution is likely to make sure that we always GROUP BY
selected annotations or revisit how we use Query.exists() in the Exists
expression but that requires extra work that isn't suitable for a
backport.
Regression in e5a92d400a.
Thanks Fernando Flores Villaça for the report.
This commit is contained in:
parent
a2e580acf6
commit
32536b1324
4 changed files with 27 additions and 1 deletions
|
|
@ -11,3 +11,7 @@ Bugfixes
|
|||
|
||||
* Fixed a regression in Django 4.1 that caused a migration crash on PostgreSQL
|
||||
when adding a model with ``ExclusionConstraint`` (:ticket:`33982`).
|
||||
|
||||
* Fixed a regression in Django 4.1 that caused aggregation over a queryset that
|
||||
contained an ``Exists`` annotation to crash due to too many selected columns
|
||||
(:ticket:`33992`).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue