Skip to content

Commit 0b886fa

Browse files
committed
Bump pgrx for CI as well, add pg17 tests and udpates readme to pg17
1 parent 71657b4 commit 0b886fa

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ jobs:
4040
package_name:
4141
- pg-graphql
4242
pgrx_version:
43-
- 0.11.3
44-
postgres: [14, 15, 16]
43+
- 0.12.4
44+
postgres: [14, 15, 16, 17]
4545
box:
4646
- { runner: ubuntu-20.04, arch: amd64 }
4747
- { runner: arm-runner, arch: arm64 }

dockerfiles/db/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ RUN \
2828
cargo --version
2929

3030
# PGRX
31-
RUN cargo install cargo-pgrx --version 0.11.3 --locked
31+
RUN cargo install cargo-pgrx --version 0.12.4 --locked
3232

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

docs/installation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,21 @@ cargo pgrx install --release
1111
Before enabling the extension you need to initialize `pgrx`. The easiest way to get started is to allow `pgrx` to manage its own version/s of Postgres:
1212

1313
```bash
14-
cargo pgrx init --pg16=download
14+
cargo pgrx init --pg17=download
1515
```
1616

1717
For more advanced configuration options, like building against an existing Postgres installation from e.g. Homebrew, see the [pgrx docs](https://github.com/pgcentralfoundation/pgrx)
1818

1919
To start the database:
2020

2121
```bash
22-
cargo pgrx start pg16
22+
cargo pgrx start pg17
2323
```
2424

2525
To connect:
2626

2727
```bash
28-
cargo pgrx connect pg16
28+
cargo pgrx connect pg17
2929
```
3030

3131
Finally, to enable the `pg_graphql` extension in Postgres, execute the `create extension` statement. This extension creates its own schema/namespace named `graphql` to avoid naming conflicts.

0 commit comments

Comments
 (0)