Another look into PostgreSQL CTE materialization and non-idempotent subqueries | Dark Hacker News