Hacker News new | ask | show | jobs
by eatonphil 1986 days ago
Until postgres 12 (if you were using postgres) CTEs were an optimization fence. Where filters would not get pushed down into the CTE if they were only specified outside the CTE (but in fields from the CTE).

https://paquier.xyz/postgresql-2/postgres-12-with-materializ...

1 comments

Well, filters won't get pushed down to previous CREATE TABLE either.