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