File tree Expand file tree Collapse file tree 4 files changed +12
-9
lines changed
pgml-docs/docs/user_guides/setup/v2 Expand file tree Collapse file tree 4 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
4141ENV 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
4545RUN cargo pgx init --pg${PGVERSION} /usr/bin/pg_config
4646
4747
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ shared_preload_libraries = 'pgml' # (change requires restart)
4545## Local development
4646
47470 . ` 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
49492 . ` cargo pgx init ` (this will take a while, go get a coffee)
50503 . ` cargo pgx run `
51514 . ` DROP EXTENSION IF EXISTS pgml; DROP SCHEMA IF EXISTS pgml CASCADE; `
You can’t perform that action at this time.
0 commit comments