Skip to content

Commit a162e31

Browse files
committed
Update to latest pgx beta. Improve related docs
1 parent e9e4bd3 commit a162e31

File tree

5 files changed

+19
-11
lines changed

5 files changed

+19
-11
lines changed

ADVANCED-INSTALL.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,12 @@ cargo install --force --git "https://github.com/zombodb/pgx" \
151151
"cargo-pgx"
152152
```
153153

154+
Or a beta branch
155+
156+
```bash
157+
cargo install --force cargo-pgx --version 0.2.0-beta.4
158+
```
159+
154160
Changes to `Cargo.toml` required in `[lib]` and `[dependencies]` sections.
155161

156162

@@ -183,22 +189,24 @@ pgx-tests = { git = "https://github.com/zombodb/pgx", branch = "develop" }
183189
The following command can be used to force pgx to overwrite the configs it needs to
184190
for various dev related changes.
185191

192+
Clean things out.
186193

187194
```bash
188-
cargo pgx schema -f
195+
cargo clean
189196
```
190197

191-
Another option to try.
198+
If you're doing the above, you probably should remove the `Cargo.lock`
199+
file while you're at it. The more cautious may want to move it aside for a backup.
192200

193201
```bash
194-
cargo clean
202+
rm Cargo.lock
195203
```
196204

197-
If you're doing the above, you probably should remove the `Cargo.lock`
198-
file while you're at it.
205+
Force build the schema.
206+
199207

200208
```bash
201-
rm Cargo.lock
209+
cargo pgx schema -f
202210
```
203211

204212

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ pg_test = []
2222

2323
#pgx = { git = "https://github.com/zombodb/pgx", branch = "develop" }
2424
#pgx-macros = { git = "https://github.com/zombodb/pgx", branch = "develop" }
25-
pgx = "0.2.0-beta.2"
26-
pgx-macros = "0.2.0-beta.2"
25+
pgx = "0.2.0-beta.4"
26+
pgx-macros = "0.2.0-beta.4"
2727

2828
#pgx-utils = { git = "https://github.com/zombodb/pgx", branch = "develop" }
29-
pgx-utils = "0.2.0-beta.2"
29+
pgx-utils = "0.2.0-beta.4"
3030

3131
[dev-dependencies]
3232
#pgx-tests = { git = "https://github.com/zombodb/pgx", branch = "develop" }
33-
pgx-tests = "0.2.0-beta.2"
33+
pgx-tests = "0.2.0-beta.4"
3434

3535

3636
[profile.dev]

build/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ BASE=$(dirname `pwd`)
2121
VERSION=$(cat $BASE/pgdd.control | grep default_version | cut -f2 -d\')
2222
LOGDIR=${BASE}/target/logs
2323
ARTIFACTDIR=${BASE}/target/artifacts
24-
PGXVERSION=0.2.0-beta.2
24+
PGXVERSION=0.2.0-beta.4
2525

2626
PG_VERS=("pg10" "pg11" "pg12" "pg13" "pg14")
2727
#PG_VERS=("pg14")

pgdd--0.4.0-rc2.jpg

-86.8 KB
Binary file not shown.

pgdd--0.4.0-rc4.jpg

86.5 KB
Loading

0 commit comments

Comments
 (0)