Skip to content

Commit

Permalink
chore: add support for pgrx v0.12.6 and pg17 (#351)
Browse files Browse the repository at this point in the history
* chore: add support for pg17 and pgrx 0.12.5

* upgrade pgrx to 0.12.6

* update README change logs

* update test cases and github workflows

* fix: wasm fdw test package path
  • Loading branch information
burmecia authored Oct 15, 2024
1 parent a317de1 commit 7b6dfaa
Show file tree
Hide file tree
Showing 31 changed files with 338 additions and 158 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ jobs:
extension_name:
- wrappers
pgrx_version:
- 0.11.3
postgres: [14, 15, 16]
- 0.12.6
postgres: [14, 15, 16, 17]
features:
- "all_fdws"
box:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_supabase_wrappers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
postgresql-server-dev-15
sudo chmod a+rwx `/usr/lib/postgresql/15/bin/pg_config --pkglibdir` `/usr/lib/postgresql/15/bin/pg_config --sharedir`/extension /var/run/postgresql/
- run: cargo install cargo-pgrx --version 0.11.3
- run: cargo install cargo-pgrx --version 0.12.6
- run: cargo pgrx init --pg15 /usr/lib/postgresql/15/bin/pg_config

- name: Format code
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_wrappers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
postgresql-server-dev-15
sudo chmod a+rwx `/usr/lib/postgresql/15/bin/pg_config --pkglibdir` `/usr/lib/postgresql/15/bin/pg_config --sharedir`/extension /var/run/postgresql/
- run: cargo install cargo-pgrx --version 0.11.3
- run: cargo install cargo-pgrx --version 0.12.6
- run: cargo pgrx init --pg15 /usr/lib/postgresql/15/bin/pg_config

- name: Format code
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
postgresql-server-dev-15
sudo chmod a+rwx `/usr/lib/postgresql/15/bin/pg_config --pkglibdir` `/usr/lib/postgresql/15/bin/pg_config --sharedir`/extension /var/run/postgresql/
- run: cargo install cargo-pgrx --version 0.11.3
- run: cargo install cargo-pgrx --version 0.12.6
- run: cargo pgrx init --pg15 /usr/lib/postgresql/15/bin/pg_config
- run: cargo install cargo-component --version 0.13.2
- run: rustup target add wasm32-unknown-unknown
Expand Down
Loading

0 comments on commit 7b6dfaa

Please sign in to comment.