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
Compilation failed with postgresql 14.0 #1371
Comments
Will be happy to review your PR. |
I dont' know very well mod_pgsql and C language btw, but I'm going to make a try anyway. |
Not sure what the correct behavior should be but we can workaround this with the below patch.
@ar45 and @andywolk you've recently made changes to |
@shaunjstokes |
@ROBERT-MCDOWELL I've just found your pull request |
done |
Updated PR here: #1402 |
@shaunjstokes |
@ROBERT-MCDOWELL try latest master |
I did it from the last master. I also clone a new repo but persists. |
Ok The problem come from POSTGRESQL_MAJOR_VERSION which is 14 |
problem solved, I sent the PR please approve it thanks |
I get this error:
make[4]: Entering directory '/home/src/freeswitch/src/mod/databases/mod_pgsql'
CC mod_pgsql_la-mod_pgsql.lo
mod_pgsql.c: In function ‘pgsql_next_result_timed’:
mod_pgsql.c:758:17: error: enumeration value ‘PGRES_PIPELINE_SYNC’ not handled in switch [-Werror=switch]
758 | switch (res->status) {
| ^~~~~~
mod_pgsql.c:758:17: error: enumeration value ‘PGRES_PIPELINE_ABORTED’ not handled in switch [-Werror=switch]
thanks
The text was updated successfully, but these errors were encountered: