What does it even mean for constraints to be checked at savepoint commit? I
would expect this to not cause any errors:
with atomic():
# insert invalid fk
with atomic(check_deferred_constraints=True):
# do stuff that doesn't invalidate any contraints
# delete the invalid fk inserted before
But with the proposed solution _all_ constraints are checked, not just the
ones invalidated in that savepoint.
--
You received this message because you are subscribed to the Google Groups
"Django developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-developers/a7f4acf5-3a06-4b5f-adb2-ff025f5511a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.