Commit Graph

16 Commits

Author SHA1 Message Date
Jakub Karolczyk 65b24c65db [mod_pgsql] Coverity CID 1468401 (Resource leak) 2023-03-29 23:26:35 +01:00
Andrey Volk 92d2e0b136 [mod_pgsql] Fix build by using PG_VERSION_NUM provided by libpq instead of using POSTGRESQL_MAJOR_VERSION detected by freeswitch configure. 2022-01-11 18:44:36 +03:00
shaunjstokes 9f26a15220 [mod_pgsql] Add support for postgresql 14 2021-10-26 19:25:14 +03:00
Aron Podrigal fddc6adf8d [mod_pgsql] Use PQcmdTuples() to get number of effected rows to support UPDATE and INSERT without RETURNING. 2021-03-19 01:13:01 +03:00
Andrey Volk c282386fdb [mod_pgsql] Fix memory leek in the case of an empty string of err_str in pgsql_handle_exec_base_detailed() 2021-03-17 19:19:39 +03:00
Andrey Volk 785d92a5f5 [mod_pgsql] Prevent a stall of PQconsumeInput(). 2021-03-16 23:22:11 +03:00
Andrey Volk 034a7eea5e [mod_pgsql] Fix potential hang when calling PQconsumeInput() while checking if db_is_up(). 2021-03-16 20:49:22 +03:00
Andrey Volk 940d82ef9b [Build-System] Fix build with MSBuild. 2020-12-23 00:11:37 +04:00
Andrey Volk 0275ea1eb4 [Build-System] Use $(DefaultPlatformToolset) so it's easier to build using newer Microsoft Visual Studio versions. 2020-05-25 14:18:25 +04:00
Nathan Neulinger 477086b3e2 [mod_mariadb] Fix reconnect during db failover/restart 2020-03-23 20:55:00 +04:00
Andrey Volk 456a7fa8cc [mod_pgsql,mod_mariadb] Fix scan-build warnings. 2020-02-26 01:48:40 +04:00
Andrey Volk 88f1a03cad [mod_mariadb] Fix autocommit not flipping back to on when a transaction ends in mod_mariadb causing switch_cache_db_test_reactive() to fail. 2020-01-29 23:55:29 +04:00
Andrey Volk 3d650f4f69 [mod_pgsql] Fix autocommit not flipping back to on when a transaction ends in mod_pgsql causing switch_cache_db_test_reactive() to fail. 2020-01-29 23:55:17 +04:00
Andrey Volk 3fa1f3b76c FS-11950: [mod_pgsql] Fix gcc8 errors replacing strncpy with snprintf. 2019-07-24 13:01:42 +04:00
Andrey Volk 4a2812aaf5 FS-11727: [mod_mariadb] Add MariaDB (MySQL) support 2019-07-23 20:07:16 +04:00
Andrey Volk ccc4ae282a FS-11880: [Core,mod_pgsql] Remove native PostgreSQL support from the core, add mod_pgsql database module. 2019-07-18 00:20:50 +04:00