Re: [Django] #33608: select_related() to nullable FK with db_constraint=False do not promote OUTER joins. (was: Wrong sql generation for FK with db_constraint=False causing results to incorrectly get dropped from a queryset)

4 views
Skip to first unread message

Django

unread,
Mar 31, 2022, 1:23:29 AM3/31/22
to django-...@googlegroups.com
#33608: select_related() to nullable FK with db_constraint=False do not promote
OUTER joins.
-------------------------------------+-------------------------------------
Reporter: Mathieu Hinderyckx | Owner: nobody
Type: Bug | Status: new
Component: Database layer | Version: 3.2
(models, ORM) |
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):

* cc: Anssi Kääriäinen (added)
* stage: Unreviewed => Accepted


Comment:

Thanks for the report. Tentatively accepted for future investigation.

--
Ticket URL: <https://code.djangoproject.com/ticket/33608#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Reply all
Reply to author
Forward
0 new messages