Starting from 2025-05-08 Postgres 18 support virtual generated columns.
PostgreSQL 18 introduces virtual generated columns that compute the column values just-in-time during query execution, instead of having to store them. This is now the default option for generated columns. Additionally, stored generated columns can now be logically replicated.
https://www.postgresql.org/about/news/postgresql-18-beta-1-released-3070/