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

feat: compatibility with pg 17 #92

Merged
merged 1 commit into from
Oct 8, 2024
Merged

Conversation

steve-chavez
Copy link
Member

In pg 17, makeJsonLexContextCstringLen changed its signature.

From:

JsonLexContext * makeJsonLexContextCstringLen(const char *json, size_t len, int encoding, bool need_escapes)

To:

JsonLexContext * makeJsonLexContextCstringLen(JsonLexContext *lex, const char *json, size_t len, int encoding, bool need_escapes)

In pg 17, `makeJsonLexContextCstringLen` changed its signature.

From:

JsonLexContext * makeJsonLexContextCstringLen(const char *json, size_t len, int encoding, bool need_escapes)

To:

JsonLexContext * makeJsonLexContextCstringLen(JsonLexContext *lex, const char *json, size_t len, int encoding, bool need_escapes)
@soedirgo
Copy link
Member

soedirgo commented Oct 7, 2024

Need to test if this compiles on mac

@soedirgo soedirgo merged commit bfed3e8 into supabase:master Oct 8, 2024
5 checks passed
@samrose
Copy link

samrose commented Oct 8, 2024

@soedirgo likely we can compensate in the nix package in supabase/postgres specifically for macos if we need to

Although you may also need that support in this project as well I suppose.

@soedirgo
Copy link
Member

soedirgo commented Oct 9, 2024

Yeah - not that we need macos support in our infra but I need it to actually work on it 😅

@steve-chavez
Copy link
Member Author

Yeah - not that we need macos support in our infra but I need it to actually work on it 😅

We now have CI for MacOS #93.

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.

4 participants