Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
lint:
strategy:
matrix:
version: ["13", "14", "15", "16", "17"]
version: ["13", "14", "15", "16", "17", "18"]
arch: ["x86_64", "aarch64"]
runs-on: ${{ matrix.arch == 'x86_64' && 'ubuntu-24.04' || 'ubuntu-24.04-arm' }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
needs: ["semver"]
strategy:
matrix:
version: ["14", "15", "16", "17"]
version: ["14", "15", "16", "17", "18"]
arch: ["x86_64", "aarch64"]
runs-on: ${{ matrix.arch == 'x86_64' && 'ubuntu-24.04' || 'ubuntu-24.04-arm' }}

Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
needs: ["semver", "build"]
strategy:
matrix:
version: ["14", "15", "16", "17"]
version: ["14", "15", "16", "17", "18"]
env:
SEMVER: ${{ needs.semver.outputs.SEMVER }}
steps:
Expand Down
5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ pg14 = ["pgrx/pg14", "pgrx-tests/pg14"]
pg15 = ["pgrx/pg15", "pgrx-tests/pg15"]
pg16 = ["pgrx/pg16", "pgrx-tests/pg16"]
pg17 = ["pgrx/pg17", "pgrx-tests/pg17"]
pg18 = ["pgrx/pg18", "pgrx-tests/pg18"]
pg_test = []
lindera-ipadic = ["lindera/ipadic"]
lindera-ipadic-neologd = ["lindera/ipadic-neologd"]
Expand All @@ -28,7 +29,7 @@ anyhow = "1.0.97"
dashmap = "6.1.0"
jieba-rs = "0.7.2"
lindera = "0.42.2"
pgrx = "=0.14.1"
pgrx = "=0.16.1"
regex = "1.11.1"
rust-stemmers = { git = "https://github.com/tensorchord/rust-stemmers.git", rev = "51696378e352688b7ffd4fface615370ff5e8768" }
serde = { version = "1.0.218", features = ["derive"] }
Expand All @@ -41,7 +42,7 @@ unicode-segmentation = "1.12.0"
validator = { version = "0.20.0", features = ["derive"] }

[dev-dependencies]
pgrx-tests = "=0.14.1"
pgrx-tests = "=0.16.1"

[profile.release]
opt-level = 3
Expand Down
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ compile_error!("Target is not supported.");
feature = "pg14",
feature = "pg15",
feature = "pg16",
feature = "pg17"
feature = "pg17",
feature = "pg18"
)))]
compile_error!("PostgreSQL version must be selected.");

Expand Down
2 changes: 1 addition & 1 deletion tools/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ sudo -iu postgres createdb -O $USER $USER
sudo -iu postgres psql -c 'ALTER SYSTEM SET shared_preload_libraries = "pg_tokenizer.so"'
sudo systemctl stop postgresql

curl -fsSL https://github.com/tensorchord/pgrx/releases/download/v0.14.1/cargo-pgrx-v0.14.1-$(uname -m)-unknown-linux-gnu.tar.gz | tar -xOzf - ./cargo-pgrx | install -m 755 /dev/stdin /usr/local/bin/cargo-pgrx
curl -fsSL https://github.com/tensorchord/pgrx/releases/download/v0.16.1/cargo-pgrx-v0.16.1-$(uname -m)-unknown-linux-gnu.tar.gz | tar -xOzf - ./cargo-pgrx | install -m 755 /dev/stdin /usr/local/bin/cargo-pgrx
cargo pgrx init --pg${version}=$(which pg_config)

curl -fsSL https://github.com/risinglightdb/sqllogictest-rs/releases/download/v0.26.4/sqllogictest-bin-v0.26.4-$(uname -m)-unknown-linux-musl.tar.gz | tar -xOzf - ./sqllogictest | install -m 755 /dev/stdin /usr/local/bin/sqllogictest
Loading