Skip to content

feat(extensions): update pg_textsearch to 1.3.1 - #124

Open
f0rr0 wants to merge 5 commits into
mainfrom
f0rr0/update-pg-textsearch-1-3-1
Open

feat(extensions): update pg_textsearch to 1.3.1#124
f0rr0 wants to merge 5 commits into
mainfrom
f0rr0/update-pg-textsearch-1-3-1

Conversation

@f0rr0

@f0rr0 f0rr0 commented Aug 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • update the pinned pg_textsearch source from 0.6.1 to 1.3.1 and regenerate its catalog, legal, mobile, WASIX, and release metadata
  • add manifest-driven native qualification covering the real 0.6.1 → 1.3.1 upgrade and the complete 71-test upstream PGXS suite, with target-inventory drift detection
  • replace Windows source rewriting with a product-owned, content-addressed MSVC patch recipe that validates the exact source pin, build inputs, installed SQL/control files, ABI layouts, and exports before compiling
  • strengthen exact-candidate runtime coverage with BM25 mutation, merge, physical backup/restore, fresh-process writes, and tombstone-sensitive assertions across supported JavaScript hosts
  • make exact-extension release metadata product-local and keep WASIX fingerprints limited to inputs that can affect WASIX bytes

Architecture

Qualification and packaging remain generic: extension-specific policy is declared in the extension manifest and product-owned recipe files. The Linux runner evaluates upstream Make targets rather than maintaining a copied test list, while the Windows producer applies a pinned patch instead of rewriting upstream sources in place. Release consumers read neutral product metadata rather than depending on an SDK-owned catalog.

Correctness and compatibility

  • source tag: v1.3.1 at 578ff529894992fb9e67cae4c69424e65c84868e
  • upgrade fixture: v0.6.1 at 07936f7c, including an existing BM25 index, ALTER EXTENSION UPDATE, post-upgrade writes and merge, restart, and dump/restore
  • upstream suite: all 71 PGXS regression targets, with declared exclusions and aggregate targets checked against the evaluated Make target database
  • Windows recipe: exact source/control-version guards plus persisted ABI layout and export contracts; patch application is rooted independently of any enclosing worktree

Validation

  • PostgreSQL 18 Linux x64: real 0.6.1 → 1.3.1 upgrade passed
  • upstream PGXS regression suite: 71/71 passed
  • declarative Windows patch applies cleanly inside an enclosing Git worktree, materializes added files, and matches upstream Makefile OBJS/DATA
  • exact-candidate consumer suite: 41/41 passed
  • canonical release gate: 1,598 passed, 15 host-specific skips, 0 failures (18,032 assertions across 208 files)
  • extension model, source-pin, artifact-fingerprint, release-semantic, and CI-graph checks passed

Hosted CI passed for exact commit aba1717de25025e002aa71b0421617dada208cc2: 80 jobs succeeded, one intentional job was skipped, and none failed.

@f0rr0
f0rr0 marked this pull request as ready for review August 10, 2026 06:37
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