README 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. postgres Module
  2. Greg Fausak
  3. August.net
  4. Edited by
  5. Greg Fausak
  6. Copyright © 2003 Greg Fausak
  7. Revision History
  8. Revision $Revision$ $Date$
  9. __________________________________________________________________
  10. Table of Contents
  11. 1. Admin Guide
  12. 1. Overview
  13. 2. Dependencies
  14. 2.1. Kamailio Modules
  15. 2.2. External Libraries or Applications
  16. 3. Exported Parameters
  17. 3.1. retries (integer)
  18. 4. Exported Functions
  19. List of Examples
  20. 1.1. Set retries parameter
  21. Chapter 1. Admin Guide
  22. Table of Contents
  23. 1. Overview
  24. 2. Dependencies
  25. 2.1. Kamailio Modules
  26. 2.2. External Libraries or Applications
  27. 3. Exported Parameters
  28. 3.1. retries (integer)
  29. 4. Exported Functions
  30. 1. Overview
  31. The module is an implementation of the internal DB API v1 and v2
  32. connector for PostgreSQL server. It has support for reconnecting when
  33. the connection is broken.
  34. 2. Dependencies
  35. 2.1. Kamailio Modules
  36. 2.2. External Libraries or Applications
  37. 2.1. Kamailio Modules
  38. The following modules must be loaded before this module:
  39. * No dependencies on other Kamailio modules.
  40. 2.2. External Libraries or Applications
  41. The following libraries or applications must be installed before
  42. running Kamailio with this module loaded:
  43. * PostgreSQL library - e.g., libpq5.
  44. * PostgreSQL devel library - to compile the module (e.g., libpq-dev).
  45. 3. Exported Parameters
  46. 3.1. retries (integer)
  47. 3.1. retries (integer)
  48. How many retries to attept to reconnect if connection to Postgres
  49. server becomes broken.
  50. Default value is 2 (that means three attepts to submit the query, first
  51. will triger the connection error and two more (the value of this
  52. parameter) after resetting the connection).
  53. Example 1.1. Set retries parameter
  54. ...
  55. modparam("db_mysql", "retries", 3)
  56. ...
  57. 4. Exported Functions
  58. NONE