Another look into PostgreSQL CTE materialization and non-idempotent subqueries