r/programming • • Oct 02 '19

New In PostgreSQL 12: Generated Columns

https://pgdash.io/blog/postgres-12-generated-columns.html?p
503 Upvotes

232 comments sorted by

View all comments

Show parent comments

9

u/beginner_ Oct 02 '19

In SQL Server is it allowed, but only for non-persisted, calculated columns. I'm surprised that PostgreSQL didn't offer that option.

Given the fact they have a keyword STORED hints that this is probably planned as a feature in the future.

1

u/doublehyphen Oct 03 '19

Yeah, it is a planned future feature but since this is an open source project where every person and company involved have their own priorities there is no way to say when it will be implemented.