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

mod_pgsql.c:765:17: error: enumeration value ‘PGRES_TUPLES_CHUNK’ #2629

Open
gganbold opened this issue Oct 21, 2024 · 2 comments
Open
Labels
bug Something isn't working

Comments

@gganbold
Copy link

When make with postgre, following error occurs:

making install mod_pgsql
make[4]: Entering directory '/usr/src/freeswitch-1.10.11/src/mod/databases/mod_pgsql'
CC mod_pgsql_la-mod_pgsql.lo
mod_pgsql.c: In function ‘pgsql_next_result_timed’:
mod_pgsql.c:765:17: error: enumeration value ‘PGRES_TUPLES_CHUNK’ not handled in switch [-Werror=switch]
765 | switch (res->status) {
| ^~~~~~
cc1: all warnings being treated as errors

@gganbold gganbold added the bug Something isn't working label Oct 21, 2024
@neominky
Copy link

I have the same problem, trying to install FusionPBX is a mess.
I don't know anything about this DB, so I don't know what to do with 'PGRES_TUPLES_CHUNK' and can't fix it.

@ot-i-to
Copy link

ot-i-to commented Nov 18, 2024

Do not use the latest version of PostgreSQL!
I recommend a version no higher than 15.
Compiled without errors on libraries:
... Libpq-Dev 16.1-1.pgdg110+1-Header Files for Libpq5 (PostgreSQL Library)
... Libpq5: AMD64 16.1-1.pgdg110+1 - PostgreSQL C Client Library

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants