Bug Fixes
- Fix crash on ROLLBACK after error in transaction block (#279) — Any server with
pg_textsearchinshared_preload_librariescould crash when running ROLLBACK after an error within a transaction block, even in databases without the extension installed. The planner hook attempted catalog lookups in an aborted transaction state, triggeringResourceOwnerEnlargefailures on release builds and assertion failures on debug builds. - VACUUM correctly removes dead index entries (#267)
- Widen
TpDictEntry.block_countfrom uint16 to uint32 (#266) — Prevents overflow for indexes with more than 65,535 blocks per term.
Performance
- Cache skip entries and compressed buffer in BMW inner loop (#274) — Reduces repeated allocations during top-k query execution.
Testing
- Add transaction abort test suite — 8 scenarios covering ROLLBACK, SAVEPOINT, and error recovery with and without BM25 indexes.
- Add physical and logical replication tests (#263)
- Add MS-MARCO v2 ground truth validation (#268)
Upgrade
Supported upgrade paths: 0.2.0 → 0.6.1, 0.3.0 → 0.6.1, 0.4.x → 0.6.1, 0.5.x → 0.6.1, 0.6.0 → 0.6.1.
ALTER EXTENSION pg_textsearch UPDATE TO '0.6.1';A server restart is required after installing the new binary.