Commit Graph
25 Commits
Author SHA1 Message Date
Eliot Gable 893cd7beb7 Add att_xfer_destination_number variable to indicate the original destination number of the attended transfer leg on REFER for semi-attended transfer scenarios. 2012-11-15 20:37:52 +00: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
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 c711eabd75 More descriptive ODBC error messages. 2012-10-30 18:19:13 +00:00
Eliot Gable 42fcaeacf5 Better error message handling. 2012-10-23 15:02:36 +00:00
Eliot Gable d923f0f75c oops 2012-10-23 14:00:52 +00:00
Eliot Gable ce4fa8acfb Added switch_atomic_t option for config parsing. 2012-10-23 13:39:31 +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
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 e5ddafff1f Merge branch 'master' of ssh://git.freeswitch.org:222/freeswitch 2012-10-08 22:22:41 +00:00
Eliot Gable 7d7eaee942 Switch to Poll instead of Select. 2012-10-08 22:22:34 +00:00
Eliot Gable 7e28946ba4 Make error message slightly more verbose. 2012-10-08 20:56:05 +00:00
Eliot Gable 3dec8fb447 we don't need to use pg's cflags 2012-10-08 20:39:09 +00:00
Eliot Gable e08f9ada73 Abstract the sql_manager and cache_db stuff so that modules can utilize the core functionality to run their own instance of a cached SQL connection. Includes patch to fix some segs in case ODBC does not have password set or if using PGSQL support. 2012-10-08 20:34:09 +00: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
Eliot Gable 5bc1f537bc Fix compiler warnings. 2012-10-05 16:48:03 +00:00
Eliot Gable 0e0c15b4b4 Merge branch 'master' of ssh://git.freeswitch.org:222/freeswitch 2012-10-05 16:11:22 +00:00
Eliot Gable 391e7c365b Rename switch_hash_first() and switch_hash_next() to switch_core_hash_first() and switch_core_hash_next() and deprecate the older versions. 2012-10-05 16:11:12 +00:00
Eliot Gable 5e08ced278 Fixed compile issues with latest Opal
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15545 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-19 15:32:27 +00:00