Working around a case where the Postgres planner is “not very smart” | Hacker News Reader