github timescale/pg_textsearch v1.6.0

one hour ago

pg_textsearch 1.6.0

Smarter filtered search, more consistent rankings, and full support for PostgreSQL 19.

Highlights

  • PostgreSQL 19 final support. PostgreSQL 19 joins 17 and 18 as a fully supported version, including Windows and amd64/arm64 release builds.
  • Less work per ranked query. Eligible Boolean filters now run inside ranked BM25 index scans. Selective searches can jump directly to matching postings instead of scoring documents that cannot qualify.
  • More consistent rankings. Corrected scoring for unspilled data, very long documents, repeated query terms, and partitioned tables keeps top-k selection aligned with returned scores.
  • Better PostgreSQL integration. Improved explicit-index selection in prepared queries, self-joins, and partitioned tables, plus compatibility fixes for TimescaleDB continuous aggregates.

Reliability and security

  • Fix missing search results from parallel index builds on HOT-updated tables and incorrect results after interrupted VACUUM operations.
  • Fix shared-memory cache allocation hangs and compressed-index read errors, with additional hardening around NULL queries, row-level security, and SQL object lookup.

Upgrading

After installing the new library and restarting PostgreSQL, run in each database:

ALTER EXTENSION pg_textsearch UPDATE TO '1.6.0';

There is no index-format change from 1.5.1. However, indexes affected by the earlier parallel-build/HOT or interrupted-VACUUM bugs require REINDEX; upgrading alone does not repair existing damage. See the upgrade guide.

New Contributors

Full Changelog: v1.5.0...v1.6.0

Don't miss a new pg_textsearch release

NewReleases is sending notifications on new releases.