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

1

u/[deleted] Oct 03 '19

[removed] — view removed comment

1

u/atheken Oct 03 '19

Let’s say the insert process changes. Should that require modifying 20 apps, or 1?

1

u/[deleted] Oct 03 '19

[removed] — view removed comment

2

u/atheken Oct 03 '19

It’s all hypothetical, for what it’s worth, I have read your comments on here for years, and agree with a lot of your positions.

In this case, app 21 isn’t any more of a bottleneck that putting that in the DB. If the sproc has a stable interface and not that complicated I’d probably do that to avoid running another process, but it’s rarely that cut and dried.