Skip to content

Support for Postgres 17 #1664

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 11, 2025
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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy