github timescale/pg_textsearch v0.6.1

12 hours ago

Bug Fixes

  • Fix crash on ROLLBACK after error in transaction block (#279) — Any server with pg_textsearch in shared_preload_libraries could 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, triggering ResourceOwnerEnlarge failures on release builds and assertion failures on debug builds.
  • VACUUM correctly removes dead index entries (#267)
  • Widen TpDictEntry.block_count from 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.

Don't miss a new pg_textsearch release

NewReleases is sending notifications on new releases.