Skip to content

Commit

Permalink
chore: pgrx 0.11.3 -> 0.12.5
Browse files Browse the repository at this point in the history
Signed-off-by: vados <[email protected]>
  • Loading branch information
t3hmrman committed Sep 29, 2024
1 parent 79f6365 commit 85c3272
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 25 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-rpm/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ inputs:
Postgres version (ex. '15.8', '16.4')
cargo-pgrx-version:
type: string
default: 0.11.3
default: 0.12.5
decription: |
cargo-pgrx version (ex. '0.11.3')
cargo-pgrx version (ex. '0.12.5')
user:
type: string
default: runner
Expand Down
23 changes: 2 additions & 21 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ maintenance = { status = "actively-maintained" }

[features]
default = ["pg16"]
pg11 = ["pgrx/pg11", "pgrx-tests/pg11"]
pg12 = ["pgrx/pg12", "pgrx-tests/pg12"]
pg13 = ["pgrx/pg13", "pgrx-tests/pg13"]
pg14 = ["pgrx/pg14", "pgrx-tests/pg14"]
Expand All @@ -32,7 +31,7 @@ getrandom = "0.2"
chrono = { version = "0.4", default-features = false, features = ["clock"] }
svix-ksuid = "0.8"
nanoid = "0.4"
pgrx = "=0.11.3"
pgrx = "=0.12.5"
pushid = "0.0.1"
timeflake-rs = "0.3"
ulid = { version = "1.1", features = [ "uuid" ] }
Expand All @@ -41,7 +40,7 @@ xid = "1.1"
time = "0.3"

[dev-dependencies]
pgrx-tests = "=0.11.3"
pgrx-tests = "=0.12.5"

[profile.dev]
panic = "unwind"
Expand All @@ -59,24 +58,6 @@ inherits = "test"
[package.metadata.generate-rpm]
assets = []

[package.metadata.generate-rpm.variants.pg11]
assets = [
{ source = "/tmp/pg_idkit/rpm/scratch/pgrx-install/lib/postgresql/pg_idkit.so", dest = "/usr/lib64/pgsql/pg_idkit.so", mode = "755" },
{ source = "/tmp/pg_idkit/rpm/scratch/pgrx-install/share/postgresql/extension/pg_idkit--0.2.3.sql", dest = "/usr/share/pgsql/extension/pg_idkit--0.2.3.sql", mode = "755" },
{ source = "/tmp/pg_idkit/rpm/scratch/pgrx-install/share/postgresql/extension/pg_idkit.control", dest = "/usr/share/pgsql/extension/pg_idkit.control", mode = "755" },
]
requires = { postgresql-server = "> 11", glibc = "*" }
release = "pg11"

[package.metadata.generate-rpm.variants.pg12]
assets = [
{ source = "/tmp/pg_idkit/rpm/scratch/pgrx-install/lib/postgresql/pg_idkit.so", dest = "/usr/lib64/pgsql/pg_idkit.so", mode = "755" },
{ source = "/tmp/pg_idkit/rpm/scratch/pgrx-install/share/postgresql/extension/pg_idkit--0.2.3.sql", dest = "/usr/share/pgsql/extension/pg_idkit--0.2.3.sql", mode = "755" },
{ source = "/tmp/pg_idkit/rpm/scratch/pgrx-install/share/postgresql/extension/pg_idkit.control", dest = "/usr/share/pgsql/extension/pg_idkit.control", mode = "755" },
]
requires = { postgresql-server = "> 12", glibc = "*" }
release = "pg12"

[package.metadata.generate-rpm.variants.pg13]
assets = [
{ source = "/tmp/pg_idkit/rpm/scratch/pgrx-install/lib/postgresql/pg_idkit.so", dest = "/usr/lib64/pgsql/pg_idkit.so", mode = "755" },
Expand Down
2 changes: 1 addition & 1 deletion docs/local-development.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ The PGRX project is the magic behind this extension, exposing an easy-to-program
To install it:

```console
cargo install --locked cargo-pgrx@0.11.3
cargo install --locked cargo-pgrx@0.12.5
cargo pgrx init
```

Expand Down
2 changes: 1 addition & 1 deletion infra/docker/builder-gnu.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ RUN chmod g+w -R /usr/local/sccache

# Install & Initialize pgrx
# NOTE: pgrx must be reinitialized if cargo-pgrx changes
RUN su idkit -c "cargo install cargo-pgrx@0.11.3"
RUN su idkit -c "cargo install cargo-pgrx@0.12.5"
RUN su idkit -c "cargo pgrx init --pg15 download"

# Install development/build/testing deps
Expand Down

0 comments on commit 85c3272

Please sign in to comment.