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 Simon Charette, 5 months ago

Triage Stage: UnreviewedAccepted

comment:2 by Sarah Boyce, 5 months ago

Triage Stage: AcceptedSomeday/Maybe

Going to update to "Someday/Maybe" until PostgreSQL 18 is available.

comment:3 by David Sanders, 5 months ago

Cc: David Sanders added

comment:4 by JaeHyuckSa, 5 months ago

Cc: JaeHyuckSa added

comment:5 by Ahmed Ibrahim, 7 weeks ago

Cc: Ahmed Ibrahim added
Note: See TracTickets for help on using tickets.
Back to Top