Good CTE, Bad CTE
The planner treats CTEs very differently depending on how you write them. Here's what happens under the hood, version by version, through PostgreSQL 18.
Summary not yet generated for this article.
Comments (34 of ) ⌛