You're allowed to have union in material views in Postgres?!
Hi Evaldas, I hope you enjoyed the article. You can actually create whatever kind of query you want. A materialized view is just a query whose resulting rows are persisted as if it was a normal table.
I did. I'm just used to SQL Server materialized views implementation. It has way more restrictions. That's why I was surprised 😊
Interesting, I've never used SQL server. tbh I've used Postgresql ever since I learned to code and I've never had a reason to try anything eles
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
You're allowed to have union in material views in Postgres?!
Hi Evaldas, I hope you enjoyed the article. You can actually create whatever kind of query you want. A materialized view is just a query whose resulting rows are persisted as if it was a normal table.
I did. I'm just used to SQL Server materialized views implementation. It has way more restrictions. That's why I was surprised 😊
Interesting, I've never used SQL server. tbh I've used Postgresql ever since I learned to code and I've never had a reason to try anything eles