#32895: Incorrectly disallowing negative integer for window range end
-------------------------------------+-------------------------------------
Reporter: henribru | Owner: nobody
Type: | Status: new
Uncategorized |
Component: Database | Version: 3.2
layer (models, ORM) |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
In `window_frame_end` Django is currently enforcing that the `end`
argument of `ValueRange` and `RowRange` can't be a negative integer.
However, according to the Postgres documentation, "value PRECEDING" is
allowed for "frame_end", so a negative integer is equally valid for `end`
as it is for `start`.
https://www.postgresql.org/docs/9.5/sql-select.html
--
Ticket URL: <https://code.djangoproject.com/ticket/32895>
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/051.2909b80d1dd8a3eb47a744268a94897f%40djangoproject.com.