feat: add VectorChord extension for PG17#10
Merged
Conversation
Dockerized utility (tools/pgrx-hash/) that computes Nix SRI hashes for new cargo-pgrx versions. Uses linux/amd64 Docker container so ARM machines can produce correct x86_64 hashes via QEMU. Usage: ./tools/pgrx-hash/run.sh <pgrx-version> <rust-version>
Switch from mounting repo files directly to writing results to a local output directory. Use nixos/nix base image with sandbox disabled instead of runtime Nix install on Ubuntu, fixing QEMU timeout on ARM hosts.
Add VectorChord 1.1.0, a scalable disk-friendly vector search extension. Requires pgrx 0.17.0 and Rust 1.90.0 — both bootstrapped via the pgrx-hash tool and added to cargo-pgrx packages.
Load pgvector, kilobase, and vchord in CI health checks to verify extensions are built correctly and can be created in PG17.
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.
Summary
vchord) 1.1.0 extension for PG17 — scalable, disk-friendly vector similarity searchcargo-pgrx0.17.0 with Rust 1.90.0 (new pgrx version required by VectorChord)tools/pgrx-hash/utility: usenixos/nixbase image with local volume output, fixing QEMU timeout on ARM hostsChanges
nix/ext/vectorchord.nixnix/packages/postgres.nixdbExtensions17nix/cargo-pgrx/versions.jsonnix/cargo-pgrx/default.nixcargo-pgrx_0_17_0attributenix/packages/default.nixcargo-pgrx_0_17_0tools/pgrx-hash/*Test plan
nix build --dry-run .#psql_17_slim/binnix build .#psql_17.exts.vchord -LCREATE EXTENSION vector; CREATE EXTENSION vchord;