Hidden dangers of duplicate key violations in PostgreSQL and how to avoid them | Hacker News Reader