Hacker News new | past | comments | ask | show | jobs | submit login

Postgres can do it, you're correct, but in my experience it rarely happens with any view that's even slightly non-trivial even on recent versions of Postgres. Most views with a join break predicate pushdown. It greatly reduces the usecases of views in practice.



I haven’t had any problems with this at all and I’ve been using joins in my views for years.

Are you using CTEs in your views?



Postgres 12 fixed the CTE issue.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: