🌐 AI搜索 & 代理 主页
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/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
run: |
curl https://sh.rustup.rs -sSf | sh -s -- -y
source ~/.cargo/env
cargo install cargo-pgrx --version "0.11.2" --locked
cargo install cargo-pgrx --version "0.12.9" --locked

if [[ ! -d ~/.pgrx ]]; then
cargo pgrx init
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/ubuntu-packages-and-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,13 @@ jobs:
libpq-dev \
libclang-dev \
wget \
postgresql-17 \
postgresql-16 \
postgresql-15 \
postgresql-14 \
postgresql-13 \
postgresql-12 \
postgresql-server-dev-17 \
postgresql-server-dev-16 \
postgresql-server-dev-15 \
postgresql-server-dev-14 \
Expand All @@ -98,13 +100,13 @@ jobs:
with:
working-directory: pgml-extension
command: install
args: cargo-pgrx --version "0.11.2" --locked
args: cargo-pgrx --version "0.12.9" --locked
- name: pgrx init
uses: postgresml/gh-actions-cargo@master
with:
working-directory: pgml-extension
command: pgrx
args: init --pg12=/usr/lib/postgresql/12/bin/pg_config --pg13=/usr/lib/postgresql/13/bin/pg_config --pg14=/usr/lib/postgresql/14/bin/pg_config --pg15=/usr/lib/postgresql/15/bin/pg_config --pg16=/usr/lib/postgresql/16/bin/pg_config
args: init --pg12=/usr/lib/postgresql/12/bin/pg_config --pg13=/usr/lib/postgresql/13/bin/pg_config --pg14=/usr/lib/postgresql/14/bin/pg_config --pg15=/usr/lib/postgresql/15/bin/pg_config --pg16=/usr/lib/postgresql/16/bin/pg_config --pg17=/usr/lib/postgresql/17/bin/pg_config
- name: Build Postgres 12
uses: postgresml/gh-actions-cargo@master
with:
Expand Down Expand Up @@ -135,6 +137,12 @@ jobs:
working-directory: pgml-extension
command: pgrx
args: package --pg-config /usr/lib/postgresql/16/bin/pg_config
- name: Build Postgres 17
uses: postgresml/gh-actions-cargo@master
with:
working-directory: pgml-extension
command: pgrx
args: package --pg-config /usr/lib/postgresql/17/bin/pg_config
- name: Build debs
env:
AWS_ACCESS_KEY_ID: ${{ vars.AWS_ACCESS_KEY_ID }}
Expand Down
2 changes: 1 addition & 1 deletion pgml-cms/docs/open-source/pgml/developers/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Once there, you can initialize `pgrx` and get going:
#### Pgrx command line and environments

```commandline
cargo install cargo-pgrx --version "0.11.2" --locked && \
cargo install cargo-pgrx --version "0.12.9" --locked && \
cargo pgrx init # This will take a few minutes
```

Expand Down
4 changes: 2 additions & 2 deletions pgml-cms/docs/open-source/pgml/developers/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ brew bundle
PostgresML is written in Rust, so you'll need to install the latest compiler from [rust-lang.org](https://rust-lang.org). Additionally, we use the Rust PostgreSQL extension framework `pgrx`, which requires some initialization steps:

```bash
cargo install cargo-pgrx --version 0.11.2 && \
cargo install cargo-pgrx --version 0.12.9 && \
cargo pgrx init
```

Expand Down Expand Up @@ -287,7 +287,7 @@ We use the `pgrx` Postgres Rust extension framework, which comes with its own in

```bash
cd pgml-extension && \
cargo install cargo-pgrx --version 0.11.2 && \
cargo install cargo-pgrx --version 0.12.9 && \
cargo pgrx init
```

Expand Down
Loading
Loading