/usr/share/doc/opensips-postgres-module/README.db_postgres is in opensips-postgres-module 2.2.2-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 | postgres Module
Greg Fausak
August.net
Edited by
Greg Fausak
Copyright © 2003 Greg Fausak
Revision History
Revision $Revision: 5898 $ $Date$
__________________________________________________________
Table of Contents
1. Admin Guide
1.1. Overview
1.2. Dependencies
1.2.1. OpenSIPS Modules
1.2.2. External Libraries or Applications
1.3. Exported Parameters
1.3.1. exec_query_threshold (integer)
1.3.2. max_db_queries (integer)
1.4. Exported Functions
1.5. Installation and Running
List of Examples
1.1. Set exec_query_threshold parameter
1.2. Set max_db_queries parameter
Chapter 1. Admin Guide
1.1. Overview
Module description
1.2. Dependencies
1.2.1. OpenSIPS Modules
The following modules must be loaded before this module:
* No dependencies on other OpenSIPS modules.
1.2.2. 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).
1.3. Exported Parameters
1.3.1. 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.
Example 1.1. Set exec_query_threshold parameter
...
modparam("db_postgres", "exec_query_threshold", 60000)
...
1.3.2. 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.
Example 1.2. Set max_db_queries parameter
...
modparam("db_postgres", "max_db_queries", 2)
...
1.4. Exported Functions
NONE
1.5. Installation and Running
Notes about installation and running.
|