Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Postgres 16 support #24

Merged
merged 2 commits into from
Sep 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
strategy:
fail-fast: false
matrix:
postgres: [14, 15]
postgres: [14, 15, 16]
runner:
- ubuntu-22.04
- buildjet-8vcpu-ubuntu-2204-arm
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
strategy:
fail-fast: false
matrix:
postgres: [14, 15]
postgres: [14, 15, 16]
box:
- runner: ubuntu-22.04
arch: amd64
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
# Ensure installed pg_config is first on path
export PATH=$PATH:/usr/lib/postgresql/${{ matrix.postgres }}/bin

cargo install cargo-pgrx --version 0.10.0-beta.4 --locked
cargo install cargo-pgrx --version 0.10.2 --locked
cargo pgrx init --pg${{ matrix.postgres }}=/usr/lib/postgresql/${{ matrix.postgres }}/bin/pg_config
- name: Build artifacts
run: |
Expand Down
5 changes: 3 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,15 @@ pg12 = ["pgrx-tests/pg12", "pgrx/pg12"]
pg13 = ["pgrx-tests/pg13", "pgrx/pg13"]
pg14 = ["pgrx-tests/pg14", "pgrx/pg14"]
pg15 = ["pgrx-tests/pg15", "pgrx/pg15"]
pg16 = ["pgrx-tests/pg16", "pgrx/pg16"]
pg_test = []

[dependencies]
inner_ulid = { package = "ulid", version = "1.0.0" }
pgrx = "=0.10.0-beta.4"
pgrx = "=0.10.2"

[dev-dependencies]
pgrx-tests = "=0.10.0-beta.4"
pgrx-tests = "=0.10.2"

[profile.dev]
panic = "unwind"
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ RUN \
cargo --version

# pgrx
RUN cargo install cargo-pgrx --version 0.10.0-beta.4 --locked
RUN cargo install cargo-pgrx --version 0.10.2 --locked

RUN cargo pgrx init --pg${PG_MAJOR} $(which pg_config)

Expand Down