Opened 5 months ago
Last modified 7 weeks ago
#36277 new New feature
Add GeneratedField(db_persist=False) support on PostgreSQL 18+
Reported by: | Adam Johnson | Owned by: | |
---|---|---|---|
Component: | Database layer (models, ORM) | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | David Sanders, JaeHyuckSa, Ahmed Ibrahim | Triage Stage: | Someday/Maybe |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
PostgreSQL 18, expected late 2025, 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
Change History (5)
comment:1 by , 5 months ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:2 by , 5 months ago
Triage Stage: | Accepted → Someday/Maybe |
---|
comment:3 by , 5 months ago
Cc: | added |
---|
comment:4 by , 5 months ago
Cc: | added |
---|
comment:5 by , 7 weeks ago
Cc: | added |
---|
Note:
See TracTickets
for help on using tickets.
Going to update to "Someday/Maybe" until PostgreSQL 18 is available.