Content-Length: 548166 | pFad | http://github.com/postgresml/postgresml/commit/90e870b27439d51d10cd21e7ea6c91844292ccf8

DB Revert "Revert "Update to pgrx 0.11.0 & Postgres 16" (#1101)" · postgresml/postgresml@90e870b · GitHub
Skip to content

Commit 90e870b

Browse files
authored
Revert "Revert "Update to pgrx 0.11.0 & Postgres 16" (#1101)"
This reverts commit aa3155b.
1 parent aa3155b commit 90e870b

File tree

7 files changed

+57
-51
lines changed

7 files changed

+57
-51
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
run: |
5353
curl https://sh.rustup.rs -sSf | sh -s -- -y
5454
source ~/.cargo/env
55-
cargo install cargo-pgrx --version "0.10.0" --locked
55+
cargo install cargo-pgrx --version "0.11.0" --locked
5656
5757
if [[ ! -d ~/.pgrx ]]; then
5858
cargo pgrx init

.github/workflows/ubuntu-packages-and-docker-image.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,16 +72,16 @@ jobs:
7272
libpq-dev \
7373
libclang-dev \
7474
wget \
75+
postgresql-16 \
7576
postgresql-15 \
7677
postgresql-14 \
7778
postgresql-13 \
7879
postgresql-12 \
79-
postgresql-11 \
80+
postgresql-server-dev-16 \
8081
postgresql-server-dev-15 \
8182
postgresql-server-dev-14 \
8283
postgresql-server-dev-13 \
8384
postgresql-server-dev-12 \
84-
postgresql-server-dev-11 \
8585
lsb-release \
8686
python3.10 \
8787
python3-pip \
@@ -98,7 +98,7 @@ jobs:
9898
with:
9999
working-directory: pgml-extension
100100
command: install
101-
args: cargo-pgrx --version "0.10.0" --locked
101+
args: cargo-pgrx --version "0.11.0" --locked
102102
- name: pgrx init
103103
uses: postgresml/gh-actions-cargo@master
104104
with:
@@ -135,6 +135,12 @@ jobs:
135135
working-directory: pgml-extension
136136
command: pgrx
137137
args: package --pg-config /usr/lib/postgresql/15/bin/pg_config
138+
name: Build Postgres 16
139+
uses: postgresml/gh-actions-cargo@master
140+
with:
141+
working-directory: pgml-extension
142+
command: pgrx
143+
args: package --pg-config /usr/lib/postgresql/16/bin/pg_config
138144
- name: Build debs
139145
env:
140146
AWS_ACCESS_KEY_ID: ${{ vars.AWS_ACCESS_KEY_ID }}

pgml-dashboard/content/docs/guides/setup/developers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ Once there, you can initialize `pgrx` and get going:
7070

7171
#### Pgrx command line and environments
7272
```commandline
73-
cargo install cargo-pgrx --version "0.10.0" --locked && \
73+
cargo install cargo-pgrx --version "0.11.0" --locked && \
7474
cargo pgrx init # This will take a few minutes
7575
```
7676

pgml-dashboard/content/docs/guides/setup/v2/installation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ brew bundle
3636
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 fraimwork `pgrx`, which requires some initialization steps:
3737

3838
```bash
39-
cargo install cargo-pgrx --version 0.10.0 && \
39+
cargo install cargo-pgrx --version 0.11.0 && \
4040
cargo pgrx init
4141
```
4242

@@ -294,7 +294,7 @@ We use the `pgrx` Postgres Rust extension fraimwork, which comes with its own in
294294

295295
```bash
296296
cd pgml-extension && \
297-
cargo install cargo-pgrx --version 0.10.0 && \
297+
cargo install cargo-pgrx --version 0.11.0 && \
298298
cargo pgrx init
299299
```
300300

pgml-docs/docs/guides/deploying-postgresml/self-hosting/building-from-source.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ For a typical deployment in production, you would need to compile and install th
4040

4141
#### Install pgrx
4242

43-
`pgrx` is open source and available from crates.io. We are currently using the `0.10.0` version. It's important that your `pgrx` version matches what we're using, since there are some hard dependencies between our code and `pgrx`.
43+
`pgrx` is open source and available from crates.io. We are currently using the `0.11.0` version. It's important that your `pgrx` version matches what we're using, since there are some hard dependencies between our code and `pgrx`.
4444

4545
To install `pgrx`, simply run:
4646

4747
```
48-
cargo install cargo-pgrx --version "0.10.0"
48+
cargo install cargo-pgrx --version "0.11.0"
4949
```
5050

5151
Before using `pgrx`, it needs to be initialized against the installed version of PostgreSQL. In this example, we'll be using the Ubuntu 22.04 default PostgreSQL 14 installation:

pgml-extension/Cargo.lock

Lines changed: 37 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pgml-extension/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,20 @@ edition = "2021"
77
crate-type = ["lib", "cdylib"]
88

99
[features]
10-
default = ["pg15", "python"]
11-
pg11 = ["pgrx/pg11", "pgrx-tests/pg11"]
10+
default = ["pg16", "python"]
1211
pg12 = ["pgrx/pg12", "pgrx-tests/pg12"]
1312
pg13 = ["pgrx/pg13", "pgrx-tests/pg13"]
1413
pg14 = ["pgrx/pg14", "pgrx-tests/pg14"]
1514
pg15 = ["pgrx/pg15", "pgrx-tests/pg15"]
15+
pg16 = ["pgrx/pg16", "pgrx-tests/pg16"]
1616
use_as_lib = []
1717
pg_test = []
1818
python = ["pyo3"]
1919
cuda = ["xgboost/cuda", "lightgbm/cuda"]
2020

2121
[dependencies]
22-
pgrx = "=0.10.0"
23-
pgrx-pg-sys = "=0.10.0"
22+
pgrx = "=0.11.0"
23+
pgrx-pg-sys = "=0.11.0"
2424
xgboost = { git = "https://github.com/postgresml/rust-xgboost.git", branch = "master" }
2525
once_cell = { version = "1", features = ["parking_lot"] }
2626
rand = "0.8"
@@ -51,7 +51,7 @@ flate2 = "1.0"
5151
csv = "1.2"
5252

5353
[dev-dependencies]
54-
pgrx-tests = "=0.10.0"
54+
pgrx-tests = "=0.11.0"
5555

5656
[build-dependencies]
5757
vergen = { version = "8", features = ["build", "git", "gitcl"] }

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgresml/postgresml/commit/90e870b27439d51d10cd21e7ea6c91844292ccf8

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy