-- pg_turbovec v1.6.0 -- Phase W: stream heap scan during ambuild. -- -- This file is a *reference mirror*. The authoritative install -- script is generated by `cargo pgrx schema`. -- -- v1.6.0 changes how `ambuild` materialises the f32 vectors -- coming out of `index_build_range_scan`. Pre-Phase-W we -- accumulated the entire heap-scan output into a single -- `Vec` before handing it to `IdMapIndex::add_with_ids`. -- At 10 M x 1536-d that buffer alone is 61 GiB, the dominant -- offender in the 121 GiB peak RSS Phase V observed on the -- meh host. Phase W flushes the staging buffer into the -- IdMapIndex every chunk_rows = (0.75 * maintenance_work_mem) -- bytes, capped at 1 GiB. -- -- The wire format does NOT change -- the v1.6.0 meta page is -- byte-identical to v1.5.x (`MetaPageData::version = 3`). -- There is no DDL or on-disk migration required. -- -- See docs/UPGRADING.md for the v1.5 -> v1.6 upgrade matrix -- (no REINDEX needed). Existing v1.5.x indexes continue to -- work unchanged; the v1.6.0 binary's ambuild path simply uses -- less memory. -- -- This migration file exists only so the upgrade path -- `ALTER EXTENSION pg_turbovec UPDATE TO '1.6.0';` resolves -- without an error. It is intentionally empty: there are no -- new SQL objects, no changed signatures, and no removed -- objects in v1.6.0 vs v1.5.x.