-
Notifications
You must be signed in to change notification settings - Fork 27
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
PostgreSQL 17 support #39
Comments
when will it be fixed? |
ping |
Attached patch fixes the problem. |
Thanks for the patch @devrimgunduz . It seems that the maintainers are not around anymore so I will try to help since I got a commit bit some time ago. I will be in an airplane for most of tomorrow so I hope I can get back to it on sunday. |
@rjuju thank you very much! |
I see that you pushed the patch on pgrpms, you should probably wait a bit before pushing the rpms, as the resulting extension could be subtly broken. I was looking at what else would need updating, and I was this part https://github.com/ossc-db/pg_store_plans/blob/master/pgsp_json.c#L33-L59 On a freshly compiled pg17 I see that CURRENT_CATALOG is now 359, so this symbol and all the one after is changed so definitely some code would not behave the same (although it should only be whitespace differences). I will also tweak this part to make sure that you can't support a new version without providing new symbols to avoid this kind of problem in the future. I will keep looking at other possible problems. |
Thanks a lot! Reverted. |
Quick update, I found a bug when pg_store_plans is compiled against pg15 or below (WIP at e4942b6). I was able to finally run the regression test successfully against all branches up to pg16 locally with yet another fix for some other problem. I hope that with Christoph's patch to cleanup the github workflow I will be able to make it work here too. |
Hi @rjuju , Any news? Cheers, Devrim |
Hi, we are also waiting for support for version 17 |
@devrimgunduz sorry it took me a bit of time to get back to it. I unfortunately have limited time and I also have the powa project to take care of where I receive little help. Anyway, now that the CI was green it revealed another issue: the json lexing changed in postgres 17 and as-is nothing at all was working. I took care of it and some other issues and HEAD should now be compatible with postgres 17, with a green CI. Let me know if you find any problem. |
Can confirm that 655864e builds on PostgreSQL 17. Do you plan to make a release? Thanks! |
Thanks for the confirmation @theory. I don't know if I have enough permission for a release but I will try. But I'd like to wait for the known bugs to be fixed first. There are a couple of pull requests opened for that, I reviewed them and I'm waiting for the authors to respond. |
Fail to build against PostgreSQL 17
The text was updated successfully, but these errors were encountered: