Re: [Django] #33647: bulk_update and bulk_create silently truncating values for size limited fields on postgres (was: bulk_update silently truncating values for size limited fields)

1 view
Skip to first unread message

Django

unread,
Dec 10, 2025, 1:36:51 PM12/10/25
to django-...@googlegroups.com
#33647: bulk_update and bulk_create silently truncating values for size limited
fields on postgres
-------------------------------------+-------------------------------------
Reporter: jerch | Owner: Rowan
| Douglas
Type: Bug | Status: assigned
Component: Database layer | Version: 4.0
(models, ORM) |
Severity: Release blocker | 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 Jacob Walls):

* owner: Akash Kumar Sen => Rowan Douglas
* severity: Normal => Release blocker
* summary: bulk_update silently truncating values for size limited fields
=>
bulk_update and bulk_create silently truncating values for size
limited fields on postgres

Comment:

Simon's plan in comment:28 sounds promising, and I agree that we should
backport the `bulk_create()` aspect (via `assemble_as_sql`) to 5.2 in a
backward-compatible way and then defer any following work to future
releases (non-blocking).

Rowan, thanks for the offer to help!
--
Ticket URL: <https://code.djangoproject.com/ticket/33647#comment:29>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Reply all
Reply to author
Forward
0 new messages