Skip to content

Conversation

@swistaczek
Copy link

Summary

  • Add pg_textsearch v0.5.0 by Timescale — a C-based PostgreSQL extension providing modern full-text search with BM25 ranking
  • Available for PostgreSQL 17 only via the bm25 index access method and <@> operator for relevance scoring
  • Includes Nix build definition, regression tests, and migration tests

Changes

  • nix/ext/pg_textsearch.nix — Extension build definition (PGXS-based, follows pgvector/rum patterns)
  • nix/ext/versions.json — Added pg_textsearch 0.5.0 entry (PG17 only)
  • nix/packages/postgres.nix — Appended to dbExtensions17 list
  • nix/checks.nix — Added to cliSkipTests
  • nix/tests/prime.sql — Added CREATE EXTENSION statement
  • nix/tests/sql/z_17_pg_textsearch.sql — PG17 regression test
  • nix/tests/expected/z_17_pg_textsearch.out — Expected test output (may need regeneration from CI)
  • migrations/tests/extensions/31-pg_textsearch.sql — Migration test
  • migrations/tests/extensions/test.sql — Include new migration test
  • README.md — Added to PG17 extensions table

Test plan

  • nix build .#psql_17.exts.pg_textsearch — builds successfully
  • PG15 evaluation unaffected (pg_textsearch not included)
  • PG17 includes pg_textsearch in extension list
  • nix/tests/expected/z_17_pg_textsearch.out may need regeneration after first CI run
  • nix/tests/expected/z_17_ext_interface.out will need regeneration to include pg_textsearch

🤖 Generated with Claude Code

swistaczek and others added 2 commits February 10, 2026 11:41
Add pg_textsearch v0.5.0 by Timescale, providing modern full-text search
with BM25 ranking via the `bm25` index access method. PG17 only.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@swistaczek swistaczek requested review from a team as code owners February 10, 2026 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant