Branch: refs/heads/master Home: https://github.com/OpenSIPS/opensips Commit: f337fde870eabb873955440ce6c80c78602ee605 https://github.com/OpenSIPS/opensips/commit/f337fde870eabb873955440ce6c80c78602ee605 Author: Vlad Patrascu <vl...@opensips.org> Date: 2021-10-11 (Mon, 11 Oct 2021)
Changed paths: M modules/db_postgres/pg_con.c Log Message: ----------- db_postgres: fix compilation for libpq versions < 9.3 Remove usage of the PQconninfo() function since it is not available for libpq versions < 9.3. Conditionally enabling the code based on the libpq version is not an option since there is no such macro available in libpq-fe.h. PG_VERSION_NUM for example might not be present and refers to the server version anyway. Commit: f27f3a066ae92d3520b99afd1009bbdc46cb6d2f https://github.com/OpenSIPS/opensips/commit/f27f3a066ae92d3520b99afd1009bbdc46cb6d2f Author: Vlad Patrascu <vl...@opensips.org> Date: 2021-10-11 (Mon, 11 Oct 2021) Changed paths: M modules/db_postgres/pg_con.c Log Message: ----------- db_postgres: fix compile errors for old C standards pg_con.c:186:3: error: 'for' loop initial declarations are only allowed in C99 mode Compare: https://github.com/OpenSIPS/opensips/compare/078c57b515e0...f27f3a066ae9 _______________________________________________ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel