MediumScenarioPostgreSQL and SQL in practice
A migration adding a NOT NULL column with a default locks the table on an old database. How do you ship it safely?
This answer is part of Pro
56 of 306 Backend answers are free. A Pro pass opens the rest, including hands-on task steps.
PreviousHow do you add an index to a large production table safely in PostgreSQL?Next A report query joins three large tables and takes minutes. How do you tune it?