Django Forum
Unexpected deadlock across two separate rows, using Postgres 17 and select_for_update().
Using Django
Using the ORM
ShaheedHaque
May 12, 2026, 6:08pm
16
@sevdog
Thanks for confirming. I guess I need to rethink how this bit works…
Are ORM transaction.atomic()s tied to a thread?
show post in topic
Related topics
Topic
Replies
Views
Activity
multiple atomic transactions
Using the ORM
3
1160
December 4, 2023
prevent double delivery of unhandled database rows
Using Django
5
2224
May 15, 2021
Operability during long running loads
Using the ORM
15
393
February 6, 2025
Do transaction.atomic() locks DB?
Using Django
2
5173
May 19, 2020
Does the select_for_update method work with the update method?
Using the ORM
2
10702
September 14, 2023