chore(deps): update dependency gburd/pg_fts to v1.0.7 #20
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate/gburd-pg_fts-1.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
1.0.6→1.0.7Release Notes
gburd/pg_fts (gburd/pg_fts)
v1.0.7Compare Source
Bug-fix and usability release. No on-disk format change from 1.0.6; no
REINDEX required (
ALTER EXTENSION pg_fts UPDATE TO '1.0.7').snapshotted the segment directory, released the metapage lock, then walked
segment pages holding only per-page share locks; a concurrent
fts_merge/fts_vacuum/ autovacuum could free those pages and a concurrent insertrecycle them, so the scan followed a now-stale segment descriptor and returned
a wrong (too-low) match count or ranking. The metapage now carries a
generationcounter bumped on every segment-directory change (segmentadd/merge/free and the bulkdelete livedocs-pointer swap); a scan records it at
its snapshot and re-checks it before trusting the result, restarting from a
fresh snapshot if it moved. The counter lives after the segment array, so
existing indexes are unaffected -- no format change, no REINDEX. Reproduced
and verified deterministically (
test/a1_recycle/).to_ftsdoc(tsvector): build anftsdocdirectly from an existingtsvector(lexemes and positions mapped straight across, no re-analysis).Lets you index a stored
tsvectorcolumn, or migrate ato_tsvectorworkload, without re-parsing text. Positions are preserved only when every
lexeme has them (a stripped tsvector indexes positionless).
CREATE INDEX CONCURRENTLYvalidation, andfts_countare now promptly cancellable. Added interrupt checks atlock-free points in the scan and trigram-scan page walks, so a query stuck on
a large or pathological index responds to statement timeout / Ctrl-C instead
of spinning to completion.
Configuration
📅 Schedule: (in timezone Europe/Paris)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate.