Login
From:
Shayon Mukherjee
(Uncensored)
subscribe
Another look into PostgreSQL CTE materialization and non-idempotent subqueries
https://www.shayon.dev/post/2025/124/another-look-into-postgresql-cte-materialization-and-non-idempotent-subqueries/
links
backlinks
Tagged with:
optimization
sql
database
postgresql
cte
materialization
A follow-up exploration into PostgreSQL CTE materialization, diving deeper into why non-idempotent subqueries can execute multiple times, leading to unexpected results.
Roast topics
Find topics
Find it!