Understanding PostgreSQL Table Locks Before a Migration Bites You

Subtitle: A practical guide to PostgreSQL’s eight table-level lock modes, the DDL statements that trigger them, and what those locks really stop in production.