Understanding Deadlocks in MySQL and PostgreSQL | Hacker News Reader