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

Extension does not load on Postgres 12 #18

Closed
cocowalla opened this issue Aug 21, 2020 · 1 comment
Closed

Extension does not load on Postgres 12 #18

cocowalla opened this issue Aug 21, 2020 · 1 comment

Comments

@cocowalla
Copy link

postgres=# CREATE EXTENSION zson;
ERROR:  could not load library "/usr/lib/postgresql/12/lib/zson.so": /usr/lib/postgresql/12/lib/zson.so: undefined symbol: PG_RETURN_JSONB

I believe PG_RETURN_JSONB needs to be switched out to PG_RETURN_JSONB_P, and PG_GETARG_JSONB switched out for PG_GETARG_JSONB_P (I see a similar change made in another extension)

@cocowalla
Copy link
Author

Gah, I just realised the code in v1.1 is older than master... will try building from master instead 😆

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

No branches or pull requests

1 participant