- Notifications
You must be signed in to change notification settings - Fork15
Issue #139: Add PostgreSQL 18 builds to CI workflow, fix tests on PostgreSQL 18+, and eliminate compilation warnings#140
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Hmmm, the CI workflow didn't run upon opening the merge request. @vitcpp : I think the CI workflows have been disabled. Can you re-enable them, please? |
@df7cb : Are you able to enable GitHub Actions on this repo? |
I only had admin rights on the "pgsphere" organization, not the postgrespro/pgsphere repo. |
Well, I just emailed@vitcpp. I hope he responds. I am concerned because he hasn't had any GitHub activity in almost a year. |
Hi@esabol, I'm here. I will review the patch and look at other new issues tomorrow. Sorry for the delay. Now it is too late. |
I enabled actions but not sure how to run them for the PR |
@esabol Could you please enable and run Build and Test workflow in your fork and branch to make sure everything is ok? I have no idea how to configure workflows in this repo to manually run with the specified PR? We will merge the commit if everything is ok. |
@esabol I'm trying to fix the tests. I can send you a patch when ready. |
@vitcpp beat me to it. He sent me a patch to fix the selectivity regression test on PostgreSQL 18. That indeed worked on Linux just fine. Unfortunately, the Windows build on PostgreSQL 18 isn't working for some reason. It emits the following warnings (which are treated as compilation errors, so it doesn't even run the regression tests):
I'm confounded as to why this wouldn't be a problem on PostgreSQL 10-17 but is a problem on PostgreSQL 18. Any ideas? I don't really do WIndows.... |
esabol commentedOct 9, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Looks good to me! |
#defineEULER_AXIS_Z 3/* z - axis for Euler transformation */ | ||
externintsphere_yylex(); | ||
externintsphere_yychar; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
I'm not sure about extern declaration of these variables. They are not used in the code except of sparse.c.
vitcpp commentedOct 9, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
vitcpp commentedOct 9, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
I looked deeply into this stuff and found that the sphere_yychar, sphere_yynerrs are the global variables which should be declared with extern in the generated parse.h header. Once, yacc doesn't declare it in the header, the fix seems to me ok as a workaround. I propose to merge it. |
Yes. I had a comment that said as much, but I neglected to post it. What I don't understand is why the PostgresSQL 18 Windows build is using gcc 14+ and the PostgreSQL 10-17 builds are apparently using an older version of gcc. It would be nice if the GitHub Actions CI workflows displayed the output of I think marking these yacc/bison variables as Ready to merge at your convenience,@vitcpp. |
1462760
intopostgrespro:masterUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
This merge request is a team effort of@esabol and@vitcpp and makes the following changes:
buffers off
toexplain analyze
tests (@vitcpp)