Repository navigation
chore(deps): update pgrx to 0.19.3 and Lindera to 6.2.0 - #6
Merged
Merged
Conversation
Vonng
force-pushed
the
feat/pgrx-0.19.3
branch
from
November 2, 2026 12:02
88873bf to
945cf2c
Compare
…and stamp release version - Upgrade pgrx and pgrx-tests from 0.16.1 to 0.19.3 - Update Cargo dependencies (anyhow, dashmap, jieba-rs 0.11, lindera 0.42.4, regex, serde, serde_json, tokenizers 0.23, toml 1.1, unicode-normalization, unicode-segmentation, validator 0.21) and track Cargo.lock - Remove obsolete pgrx_embed binary target and src/bin/pgrx_embed.rs - Drop EOL pg13 feature and add pg19 feature support - Stamp Cargo.toml package version to 0.1.1 so cargo pgrx package substitutes @CARGO_VERSION@ directly - Add Linux -Wl,--no-gc-sections linker flag to preserve __pgrx_schema ELF sections under fat LTO - Update CI workflows and tools/setup.sh for cargo-pgrx 0.19.3 Closes #5
Vonng
force-pushed
the
feat/pgrx-0.19.3
branch
from
November 2, 2026 15:40
945cf2c to
f2dbe41
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This upgrades pgrx/pgrx-tests to 0.19.3, updates direct Cargo dependencies to their current stable versions, and tracks a refreshed Cargo.lock from
cargo update. Lindera moves from 0.42 to 6.2.0 with the new lindera-analysis crate; Jieba, tokenizers, toml and validator also move to their current release lines.The pgrx migration removes the obsolete embed binary, stamps the 0.1.1 package version for standard
cargo pgrx package, preserves schema sections under Linux LTO, drops PG13 and adds the PG19 feature. Check and release workflows are manual-only.Lindera configuration loading accepts both dictionary URIs and existing dictionary tables in catalog rows and preload files. Unknown words remain excluded despite Lindera's new word-ID representation. README, model/reference documentation and Japanese regression expectations are updated. The embedded IPADIC revision changes token IDs: existing Lindera token arrays must be regenerated and their indexes rebuilt when deploying this upgrade. External compiled dictionaries must also be rebuilt with Lindera 6.
Validated locally on Apple Silicon macOS with cargo-pgrx 0.19.3 and Homebrew PostgreSQL 18.6:
cargo pgrx packagewithpg18 lindera-ipadicproduced the arm64 dylib, control file andpg_tokenizer--0.1.1.sqlwith 30 SQL entities.The temporary cluster was stopped after testing. Existing PostgreSQL data and installed extension files were not modified. CI was not run.
Closes #5