#31745: Add errors when UniqueConstraint.deferrable is combined with index
specific
parameters
-------------------------------------+-------------------------------------
Reporter: Hannes | Owner: Hannes Ljungberg
Ljungberg |
Type: Bug | Status: assigned
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 |
-------------------------------------+-------------------------------------
`UniqueConstraint` should throw an error when `deferrable` is combined
with parameters which require the usage of an explicit unique index
through `CREATE UNIQUE INDEX`. This was missed when
`UniqueConstraint.include` and `UniqueConstraint.opclasses` was added. We
should also add documentation about this incompatibility.
--
Ticket URL: <https://code.djangoproject.com/ticket/31745>
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.5cf8c728e822363e1e66b7f36629c2ec%40djangoproject.com.