#34840: Django 4.2 casts text fields when testing IS NULL, preventing use of partial indexes -------------------------------------+------------------------------------- Reporter: Alex Vandiver | Owner: Mariusz | Felisiak Type: Bug | Status: closed Component: Database layer | Version: 4.2 (models, ORM) | Severity: Release blocker | Resolution: fixed Keywords: | Triage Stage: Accepted Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by Mariusz Felisiak <felisiak.mariusz@…>): In [changeset:"c3cf518a804be9bf56883bf2c93c1d0229b18b8b" c3cf518]: {{{ #!CommitTicketReference repository="" revision="c3cf518a804be9bf56883bf2c93c1d0229b18b8b" [5.0.x] Refs #34840 -- Fixed test_validate_nullable_textfield_with_isnull_true() on databases that don's support table check constraints. Thanks Tim Graham for the report. Backport of 9fd3a0ffc8fb8e532b0d5717f99fb15aff175a6c from main }}} -- Ticket URL: <https://code.djangoproject.com/ticket/34840#comment:27> 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 django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/0107018b250dc985-92790134-67d4-4c39-960e-9fffbc721952-000000%40eu-central-1.amazonses.com.