-- pg_turbovec v1.7.2 -- Phase Y: automated upgrade-matrix tests. -- -- This file is a *reference mirror*. The authoritative install -- script is generated by `cargo pgrx schema`. -- -- v1.7.2 is a test-only patch release: it adds automated -- end-to-end validation of the documented upgrade matrix. -- Specifically, four new `#[pg_test]`s in `src/lib.rs` cover -- -- 1. Replay of every `migrations/*.sql` from v1.3.0 onward -- against an already-1.7.x cluster (smoke for the -- `ALTER EXTENSION` chain). -- 2. ambeginscan ERRORs on a forged v1 (Phase L preview) -- meta page with a REINDEX HINT. -- 3. ambeginscan ERRORs on a forged v2 (Phase P, v1.3.x) -- meta page with a REINDEX HINT. -- 4. The set of `migrations/*.sql` files matches the -- documented release history. -- -- The only source-code addition is the cfg-gated -- `relfile::force_meta_version()` helper that tests #2 and #3 -- use to stamp arbitrary version values into block 0 without -- having to keep v1.0..v1.3 binaries around. -- -- The wire format does NOT change. The on-disk index format is -- byte-identical across v1.6.0, v1.7.0, v1.7.1, and v1.7.2 (all -- `MetaPageData::version = 3`). There is no DDL or on-disk -- migration required, and no REINDEX is needed. -- -- See docs/UPGRADING.md for the v1.7.1 -> v1.7.2 patch row -- (no REINDEX needed). This migration file exists only so the -- upgrade path `ALTER EXTENSION pg_turbovec UPDATE TO '1.7.2';` -- resolves without an error. It is intentionally empty.