Hacker News new | ask | show | jobs
by siddboots 83 days ago
I think your assumption about inlining is essentially correct. As far as I know postgres was the last major rdbms to have an optimiser fence around CTEs.
1 comments

I concur, “the Germans” have created an algorithm that completely “see through” subqueries/CTEs when planning a query. The way the query is written has no bearing on the execution.
By the Germans, as you referring to Thomas Neumann's database group at TMU, Munich?
*TUM (Technical University of Munich).