Simulating Update or Delete with Limit in Postgres: CTEs to the Rescue | Hacker News Reader