Postgres Planner Quirks: The impact of ORDER BY and LIMIT on index usage | Hacker News Reader