Another look into PostgreSQL CTE materialization and non-idempotent subqueries shayon.dev 2 points by shayonj 8 hours ago