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 43
43
run : |
44
44
curl https://sh.rustup.rs -sSf | sh -s -- -y
45
45
source ~/.cargo/env
46
- cargo install cargo-pgx --version "0.5.6 "
46
+ cargo install cargo-pgx --version "0.7.1 "
47
47
48
48
if [[ ! -d ~/.pgx ]]; then
49
49
cargo pgx init
Original file line number Diff line number Diff line change @@ -69,14 +69,17 @@ sudo apt-get install postgresql
69
69
sudo apt-get update && \
70
70
sudo apt-get install -y \
71
71
postgresql-server-dev-${POSTGRES_VERSION} \
72
- libpython3-dev \
73
- libclang-dev \
74
- cmake \
75
- pkg-config \
76
- libssl-dev \
77
- clang \
72
+ bison \
78
73
build-essential \
74
+ clang \
75
+ cmake \
76
+ flex \
77
+ libclang-dev \
79
78
libopenblas-dev \
79
+ libpython3-dev \
80
+ libreadline-dev \
81
+ libssl-dev \
82
+ pkg-config \
80
83
python3-dev
81
84
```
82
85
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
41
41
ENV PATH="/var/lib/postgresql/.cargo/bin:${PATH}"
42
42
43
43
# Install tcdi/pgx
44
- RUN cargo install cargo-pgx --version 0.5.6
44
+ RUN cargo install cargo-pgx --version 0.7.1
45
45
RUN cargo pgx init --pg${PGVERSION} /usr/bin/pg_config
46
46
47
47
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ shared_preload_libraries = 'pgml' # (change requires restart)
45
45
## Local development
46
46
47
47
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
49
49
2 . ` cargo pgx init ` (this will take a while, go get a coffee)
50
50
3 . ` cargo pgx run `
51
51
4 . ` DROP EXTENSION IF EXISTS pgml; DROP SCHEMA IF EXISTS pgml CASCADE; `
You can’t perform that action at this time.
0 commit comments