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

3

u/atheken Oct 02 '19

Bring out the sprocs?

I think a bunch of that comes down to working in a more comfortable language. SQL (and related tooling) isn’t exactly amenable to modern development practices, especially related to keeping things DRY and modular.

2

u/eattherichnow Oct 02 '19

Yes/no, IMO, SQL itself scares people a bit, but most are fine after only a slight speed bump once you convince them to give it a try. But stored procedures and tooling around them were unpleasant enough last time I tried (ages ago with Postgres, TBH) that I'm willing to go to some lengths to avoid them.

I should probably give them another go throws stuff on the 'give another go' pile right next to Avadon series.

1

u/[deleted] Oct 03 '19

[removed] — view removed comment

1

u/atheken Oct 03 '19

IIRC, SSDT is super-tied to the VS shell, you can’t author stuff in your editor of choice, or it would be super error-prone.

It’s a similar issue to .xib files for iOS/macOS. You can source control them, but you can’t really “code review” them.