2026-10-317 min read
Changing a Column on a Big Postgres Table Without a Long Table-Rewrite Lock
An illustrative integer-to-bigint migration, split into expand, sync, backfill, validate, switch and contract—with explicit lock and recovery limits.
postgresmigrationsdatabases