Commit Graph

29 Commits

Author SHA1 Message Date
Andrey Volk 49d19bffcd FS-11074: [Core, Build-System] Add PostgreSQL to the Freeswitch Core on Windows. 2018-07-24 07:21:43 +00:00
Italo Rossi 9d96741f56 FS-10774 - [switch_pgsql] Fix build for PostgreSQL/libpq 10 2017-11-06 10:35:36 -03:00
Italo Rossi d3e78c3cad FS-10228: [switch_pgsql] Avoiding double openssl initialization when using core pgsql 2017-04-21 00:22:20 -03:00
Sergey Safarov df1ab07ca4 FS-9924: Removed extra space in source files 2017-02-09 23:59:49 -05:00
Ken Rice e18c12b609 FS-8953 [core] white space clean up. 2016-03-17 08:55:00 -05:00
Seven Du 6bfa299216 set affected_rows also for non-SELECT queries 2015-06-02 18:46:50 +08:00
William King c8f8d6b964 Fix a null pointer dereference in the native postgresql connection
code. This is unlikely to ever be hit in the field.
2015-01-29 15:20:10 -06:00
Chris Rienzo 4a5e36d63e switch_pgsql.c switch_pgsql_next_result_timed() was using switch_time_now() for start time and switch_micro_time_now() for current time. These are different time sources that may not be in sync and could cause the query to timeout prematurely. 2014-10-07 09:33:19 -04:00
Ken Rice 6e7d5d0897 update copyright header for 2014 2014-02-12 12:08:56 -06:00
Seven Du dd67bd41f9 do not treat key exists as error as already doing in other place 2013-11-17 21:27:39 +08:00
Nathan Neulinger 32adc789f6 make noexpandtab explicit in all vim modelines other than xml files 2013-06-25 11:50:17 -05:00
Anthony Minessale f6baeb2109 bump 2012-11-19 18:21:25 -06:00
Eliot Gable 302c323a8f Update PGSQL socket descriptor on reconnect in case a new descriptor was assigned. 2012-11-08 19:49:14 +00:00
Eliot Gable 1e929e723f More fixes for reconnecting to PGSQL on connection failure. 2012-11-08 18:45:00 +00:00
Anthony Minessale bfe3fdf347 regression from 0160072adc code was outside of code block 2012-11-07 16:46:36 -06:00
Eliot Gable 0160072adc Fix query cancelling so it leaves the handle in a good state; fix detection of broken connections in db_is_up by consuming the EOF on a failed connection before checking if the connection failed; add more detailed logging about who called the SQL function when something goes wrong. 2012-11-07 21:35:40 +00:00
Eliot Gable 658beb7fbd This "else" condition is not an error condition. It is reached when you execute a multi-statement query and it reaches the end of all statements. 2012-11-06 22:50:29 +00:00
Eliot Gable 42fcaeacf5 Better error message handling. 2012-10-23 15:02:36 +00:00
Eliot Gable 192c0143fd Fix execute_string() function and fix memory leak in _callback() function. 2012-10-10 18:51:12 +00:00
Eliot Gable f66fbe2eaf Fix callback method to pass column count instead of the integer representation of the row we are on. 2012-10-09 20:35:00 +00:00
Eliot Gable 1fe96ac38c Handle building on different PGSQL versions and update error message in Sofia. 2012-10-09 18:42:23 +00:00
Michael Jerris bf7578550d fix core pgsql and not break windows 2012-10-09 13:39:01 -04:00
Eliot Gable 791efc74a7 Merge branch 'master' of ssh://git.freeswitch.org:222/freeswitch 2012-10-09 13:41:22 +00:00
Eliot Gable 162181a86f It's probably a good idea to free the result before we check for another. 2012-10-09 13:41:16 +00:00
Eliot Gable f059d97ff8 Terminate buffers! 2012-10-08 22:48:26 +00:00
Eliot Gable 7d7eaee942 Switch to Poll instead of Select. 2012-10-08 22:22:34 +00:00
Michael Jerris 21d240b28c windows build 2012-10-08 19:05:12 -04:00
Anthony Minessale dc1477e575 fix build without pgsql 2012-10-08 13:08:05 -05:00
Eliot Gable 5cb354dddc Initial core-pgsql support based on native libpq; FS starts and stops without errors using core-pgsql. 2012-10-08 20:33:57 +00:00