Agent Added A Column With A Default To 7e6d1a51a15dc1e2

Fixes a Postgres table rewrite caused by adding a column with a default to a huge live table. It explains when the add is instant (Postgres 11 and later with a constant default) and gives the safe multi-step backfill when it is not. Use before running ADD COLUMN with a default on a large production table.

Vectle Updated

File contents

Vectle/skills commit 354c94b628

Frequently asked questions

npx get-skill add vectle/agent-added-a-column-with-a-default-to-7e6d1a51a15dc1e2