DB_POSTGRES module
Admin Guide
Section titled “Admin Guide”Overview
Section titled “Overview”Module description
Dependencies
Section titled “Dependencies”OpenSIPS Modules
Section titled “OpenSIPS Modules”The following modules must be loaded before this module:
- No dependencies on other OpenSIPS modules.
External Libraries or Applications
Section titled “External Libraries or Applications”The following libraries or applications must be installed before running OpenSIPS with this module loaded:
- PostgreSQL library - e.g., libpq5.
- PostgreSQL devel library - to compile the module (e.g., libpq-dev).
Exported Parameters
Section titled “Exported Parameters”exec_query_threshold (integer)
Section titled “exec_query_threshold (integer)”If queries take longer than ‘exec_query_threshold’ microseconds, warning messages will be written to logging facility.
Default value is 0 - disabled.
...modparam("db_postgres", "exec_query_threshold", 60000)...max_db_queries (integer)
Section titled “max_db_queries (integer)”The maximum number of database queries to be executed. If this parameter is set improperly, it is set to default value.
Default value is 2.
...modparam("db_postgres", "max_db_queries", 2)...timeout (integer)
Section titled “timeout (integer)”The number of seconds the PostgreSQL library waits to connect and query the server. If the connection does not succeed within the given timeout, the connection fails.
Default value is 5.
...modparam("db_postgres", "timeout", 2)...Exported Functions
Section titled “Exported Functions”NONE
Installation and Running
Section titled “Installation and Running”Notes about installation and running.
doc copyrights:
Contributors
Section titled “Contributors”By Commit Statistics
Section titled “By Commit Statistics”Top contributors by DevScore(1), authored commits(2) and lines added/removed(3)
| # | Name | DevScore | Commits | Lines++ | Lines— |
|---|---|---|---|---|---|
| 1. | Henning Westerholt (@henningw) | 122 | 31 | 2721 | 4094 |
| 2. | Bogdan-Andrei Iancu (@bogdan-iancu) | 74 | 44 | 935 | 1276 |
| 3. | Norman Brandinger (@NormB) | 51 | 4 | 1133 | 2207 |
| 4. | Greg Fausak | 42 | 3 | 4472 | 2 |
| 5. | Daniel-Constantin Mierla (@miconda) | 28 | 20 | 375 | 228 |
| 6. | Jan Janak (@janakj) | 12 | 8 | 308 | 31 |
| 7. | Klaus Darilion | 10 | 6 | 139 | 67 |
| 8. | Vlad Paiu (@vladpaiu) | 10 | 6 | 131 | 65 |
| 9. | Liviu Chircu (@liviuchircu) | 10 | 6 | 85 | 122 |
| 10. | Razvan Crainea (@razvancrainea) | 9 | 6 | 167 | 23 |
All remaining contributors: Stefan Darius (@dariusstefan), Ancuta Onofrei, Maksym Sobolyev (@sobomax), Dusan Klinec (@ph4r05), Andrei Pelinescu-Onciul, Ruslan Bukin, Eseanu Marius Cristian (@eseanucristian), Razvan Pistolea, Konstantin Bokarius, Aron Podrigal (@ar45), Edson Gellert Schubert, Jarrod Baumann (@jarrodb).
(1) DevScore = author_commits + author_lines_added / (project_lines_added / project_commits) + author_lines_deleted / (project_lines_deleted / project_commits)
(2) including any documentation-related commits, excluding merge commits
(3) ignoring whitespace edits, renamed files and auto-generated files
By Commit Activity
Section titled “By Commit Activity”| # | Name | Commit Activity |
|---|---|---|
| 1. | Stefan Darius (@dariusstefan) | Jun 2026 - Jul 2026 |
| 2. | Razvan Crainea (@razvancrainea) | Oct 2011 - Jun 2026 |
| 3. | Bogdan-Andrei Iancu (@bogdan-iancu) | Jul 2005 - Mar 2019 |
| 4. | Liviu Chircu (@liviuchircu) | Sep 2012 - Jun 2018 |
| 5. | Jarrod Baumann (@jarrodb) | Mar 2016 - Mar 2016 |
| 6. | Dusan Klinec (@ph4r05) | Dec 2015 - Dec 2015 |
| 7. | Aron Podrigal (@ar45) | Jul 2015 - Jul 2015 |
| 8. | Eseanu Marius Cristian (@eseanucristian) | Jul 2015 - Jul 2015 |
| 9. | Vlad Paiu (@vladpaiu) | Jan 2011 - Mar 2012 |
| 10. | Razvan Pistolea | Jul 2009 - Jul 2009 |
All remaining contributors: Ruslan Bukin, Henning Westerholt (@henningw), Daniel-Constantin Mierla (@miconda), Konstantin Bokarius, Edson Gellert Schubert, Ancuta Onofrei, Klaus Darilion, Norman Brandinger (@NormB), Maksym Sobolyev (@sobomax), Jan Janak (@janakj), Greg Fausak, Andrei Pelinescu-Onciul.
(1) including any documentation-related commits, excluding merge commits
Documentation
Section titled “Documentation”Contributors
Section titled “Contributors”Last edited by: Razvan Crainea (@razvancrainea), Bogdan-Andrei Iancu (@bogdan-iancu), Liviu Chircu (@liviuchircu), Aron Podrigal (@ar45), Eseanu Marius Cristian (@eseanucristian), Vlad Paiu (@vladpaiu), Daniel-Constantin Mierla (@miconda), Konstantin Bokarius, Edson Gellert Schubert, Henning Westerholt (@henningw), Jan Janak (@janakj).
License
Section titled “License”All documentation files (i.e. .md extension) are licensed under the Creative Common License 4.0