Skip to content

Conversation

@jhf
Copy link
Contributor

@jhf jhf commented Oct 21, 2025

What kind of change does this PR introduce?

Upgrade pgrx to 0.16.1 that support PostgreSQL 18, and add support for PostgreSQL 18.

What is the current behavior?

Build of pg_graphql against PostgreSQL 18 fails.

What is the new behavior?

Build of pg_graphql against PostgreSQL 18 works.

Additional context

I also changed the CI to test pg 18, and to use it by default.

jhf added 4 commits October 21, 2025 10:39
Using `brew install icu4c` and
`PKG_CONFIG_PATH=/opt/homebrew/opt/icu4c/lib/pkgconfig cargo pgrx init`
since I ran this on macOS. Ran tests with `cargo pgrx test` and they are
passing.
Tested locally with
```
PG_VERSION=18 docker compose -f .ci/docker-compose.yml build
PG_VERSION=18 docker compose -f .ci/docker-compose.yml run test
```
And got `# All 119 tests passed.`
@jhf jhf mentioned this pull request Oct 21, 2025
Copy link
Contributor

@imor imor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR. Could you please also update the version at following locations:

@imor
Copy link
Contributor

imor commented Oct 22, 2025

@jhf a GH check is failing here: https://github.com/supabase/pg_graphql/actions/runs/18682416437/job/53347499160?pr=611#step:3:1487. Could you please take a look.

@jhf
Copy link
Contributor Author

jhf commented Oct 22, 2025

@jhf a GH check is failing here: https://github.com/supabase/pg_graphql/actions/runs/18682416437/job/53347499160?pr=611#step:3:1487. Could you please take a look.

I see the coverage hard codes pg 16 - I changed to 18, so we can see if that works. If it's ok we can go with that, if not, I can use pg 16 for coverage.

@imor
Copy link
Contributor

imor commented Oct 22, 2025

pg 18 is fine for generating coverage. Latest run failed with another error: https://github.com/supabase/pg_graphql/actions/runs/18714693222/job/53371283791?pr=611

@jhf
Copy link
Contributor Author

jhf commented Oct 22, 2025

pg 18 is fine for generating coverage. Latest run failed with another error: https://github.com/supabase/pg_graphql/actions/runs/18714693222/job/53371283791?pr=611

I fixed that, and now the tests are passing.

Copy link
Contributor

@imor imor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR!

@imor imor merged commit 9cf4882 into supabase:master Oct 22, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants