#31183: Add a feature flag for "PostgreSQL only supports UNBOUNDED together with
PRECEDING and FOLLOWING"
-------------------------------------+-------------------------------------
Reporter: Tim | Owner: nobody
Graham |
Type: | Status: new
Cleanup/optimization |
Component: Database | Version: master
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 |
-------------------------------------+-------------------------------------
The Django tests for the "PostgreSQL only supports UNBOUNDED together with
PRECEDING and FOLLOWING." error are PostgreSQL specific, however, this
restriction also applies to CockroachDB. Therefore, it would be nice to
have a feature flag to control whether or not those tests are run (rather
than a `connection.vendor` check) as well as not to hardcode "PostgreSQL"
in the error message. The [https://github.com/cockroachdb/django-
cockroachdb/ CockroachDB backend] subclasses the PostgreSQL backend.
--
Ticket URL: <https://code.djangoproject.com/ticket/31183>
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/052.7e957e230357601edfe0ad2bff601028%40djangoproject.com.