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

pg_atoi removed in postgresql 15 , use pg_strtoint32 / pg_strtoint64 #20

Closed
usrtax opened this issue Oct 16, 2022 · 3 comments
Closed

Comments

@usrtax
Copy link

usrtax commented Oct 16, 2022

https://github.com/postgres/postgres/search?q=pg_atoi&type=commits
image

usrtax added a commit to usrtax/pguint that referenced this issue Oct 16, 2022
@usrtax usrtax mentioned this issue Oct 16, 2022
@devrimgunduz
Copy link

@petere ping. We need this for PG 15 RPMs.

@covalenthq-rj
Copy link

covalenthq-rj commented Apr 24, 2023

It looks like when running the make installcheckfor PG 15 (on ubuntu 22.04) some test operators did not pass. It has probably to do with the way the pg_strtoint64 handle 8 bit integers. One possible way to resolve it could be to use internal implementation of pg_atoi() for the PG15 possible from PG14 source code in inout.c

@MarioIshac
Copy link

MarioIshac commented Oct 20, 2023

Bump, a big fan of this extension but it cannot be used in Postgres 15 or 16. ERROR: could not load library "/usr/lib/postgresql/16/lib/uint.so": /usr/lib/postgresql/16/lib/uint.so: undefined symbol: pg_atoi.

@petere petere closed this as completed in 7e6d6a6 Dec 5, 2023
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 a pull request may close this issue.

4 participants