#36277: Add GeneratedField(db_persist=False) support on PostgreSQL 18+
-------------------------------------+-------------------------------------
Reporter: Adam Johnson | Type: New
| feature
Status: new | Component: Database
| layer (models, ORM)
Version: dev | Severity: Normal
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
PostgreSQL 18, expected late 2025, [https://www.depesz.com/2025/02/28
/waiting-for-postgresql-18-virtual-generated-columns/ includes virtual
generated column support].
When PostgreSQL 18 is testable, we can update the associated database
feature to a cached property that checks the server version:
https://github.com/django/django/blob/d5c19f9b327fccc1f707e10de648fe9d4cdacb9b/django/db/backends/postgresql/features.py#L76
--
Ticket URL: <https://code.djangoproject.com/ticket/36277>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/01070195d291a5cf-0a14de7e-49ad-415f-a7c4-861951ceec6d-000000%40eu-central-1.amazonses.com.