Skip to content

Commit d7ea4ba

Browse files
committed
document update to 0.7.1
1 parent 0af08a1 commit d7ea4ba

File tree

4 files changed

+12
-9
lines changed

4 files changed

+12
-9
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
run: |
4444
curl https://sh.rustup.rs -sSf | sh -s -- -y
4545
source ~/.cargo/env
46-
cargo install cargo-pgx --version "0.5.6"
46+
cargo install cargo-pgx --version "0.7.1"
4747
4848
if [[ ! -d ~/.pgx ]]; then
4949
cargo pgx init

pgml-docs/docs/user_guides/setup/v2/installation.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,17 @@ sudo apt-get install postgresql
6969
sudo apt-get update && \
7070
sudo apt-get install -y \
7171
postgresql-server-dev-${POSTGRES_VERSION} \
72-
libpython3-dev \
73-
libclang-dev \
74-
cmake \
75-
pkg-config \
76-
libssl-dev \
77-
clang \
72+
bison \
7873
build-essential \
74+
clang \
75+
cmake \
76+
flex \
77+
libclang-dev \
7978
libopenblas-dev \
79+
libpython3-dev \
80+
libreadline-dev \
81+
libssl-dev \
82+
pkg-config \
8083
python3-dev
8184
```
8285

pgml-extension/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
4141
ENV PATH="/var/lib/postgresql/.cargo/bin:${PATH}"
4242

4343
# Install tcdi/pgx
44-
RUN cargo install cargo-pgx --version 0.5.6
44+
RUN cargo install cargo-pgx --version 0.7.1
4545
RUN cargo pgx init --pg${PGVERSION} /usr/bin/pg_config
4646

4747

pgml-extension/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ shared_preload_libraries = 'pgml' # (change requires restart)
4545
## Local development
4646

4747
0. `git submodule update --init --recursive`
48-
1. `cargo install cargo-pgx --version=0.5.6` version needs to match Cargo.toml
48+
1. `cargo install cargo-pgx --version=0.7.1` version needs to match Cargo.toml
4949
2. `cargo pgx init` (this will take a while, go get a coffee)
5050
3. `cargo pgx run`
5151
4. `DROP EXTENSION IF EXISTS pgml; DROP SCHEMA IF EXISTS pgml CASCADE;`

0 commit comments

Comments
 (0)