#29095: QuerySet.count() with Sum window function generates invalid SQL on
PostgreSQL
-------------------------------------+-------------------------------------
Reporter: Shadi Akiki | Owner: nobody
Type: Bug | Status: closed
Component: Database layer | Version: 3.0
(models, ORM) |
Severity: Normal | Resolution: fixed
Keywords: window | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"33ec01caaf57271d1820dc0ea90c5360287e305c" 33ec01ca]:
{{{
#!CommitTicketReference repository=""
revision="33ec01caaf57271d1820dc0ea90c5360287e305c"
Refs #29095 -- Added test for using QuerySet.count() with window
expressions ordered by related fields.
Fixed in 3f32154f40a855afa063095e3d091ce6be21f2c5.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/29095#comment:7>
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/072.b26f49ce08a1c908934f0fa11b16feee%40djangoproject.com.