7 Tips for Dealing with Locks in PostgreSQL | Dark Hacker News