Changes between Initial Version and Version 1 of Ticket #36822
- Timestamp:
- Dec 22, 2025, 3:58:34 PM (14 hours ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #36822
- Property Keywords bulk_batch_size max_query_params added
- Property Triage Stage Unreviewed → Accepted
- Property Summary Deleting objects with >65535 related rows fails on psycopg3 w/ server side binding enabled → Implement parameter limit for Postgres backend with server-side binding enabled
-
Ticket #36822 – Description
initial v1 1 [NOTE:] Much of the context of the following report, as well as "Part 3" of the mitigation is a duplicate of #36248, but this ticket was accepted for "Part 1" and "Part 2" below, see triage decision. 2 3 Original report follows: 4 ---- 1 5 When deleting a model instance that has more than 65535 related objects via CASCADE, Django exceeds PostgreSQL's query parameter limit. This causes an {{{OperationalError}}} during the collection phase when Django checks for further related objects. 2 6