The Many Faces of Distinct in PostgreSQL (2017) | Hacker News