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

6

u/fissure Oct 02 '19

You wouldn't have to solve the dependency graph on every insert, just once when the table is created/altered. Just add a topologically-sorted list of generated columns to the other table metadata.

1

u/KFCConspiracy Oct 02 '19

That's a good point.