This file is indexed.

/usr/share/doc/kamailio/modules/README.db_postgres is in kamailio-postgres-modules 4.2.0-2+deb8u3.

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
     __________________________________________________________________

   Table of Contents

   1. Admin Guide

        1. Overview
        2. Dependencies

              2.1. Kamailio Modules
              2.2. External Libraries or Applications

        3. Parameters

              3.1. retries (integer)

        4. Functions

   List of Examples

   1.1. Set retries parameter

Chapter 1. Admin Guide

   Table of Contents

   1. Overview
   2. Dependencies

        2.1. Kamailio Modules
        2.2. External Libraries or Applications

   3. Parameters

        3.1. retries (integer)

   4. Functions

1. Overview

   The module is an implementation of the internal DB API v1 and v2
   connector for PostgreSQL server. It has support for reconnecting when
   the connection is broken.

2. Dependencies

   2.1. Kamailio Modules
   2.2. External Libraries or Applications

2.1. Kamailio Modules

   The following modules must be loaded before this module:
     * No dependencies on other Kamailio modules.

2.2. External Libraries or Applications

   The following libraries or applications must be installed before
   running Kamailio with this module loaded:
     * PostgreSQL library - e.g., libpq5.
     * PostgreSQL devel library - to compile the module (e.g., libpq-dev).

3. Parameters

   3.1. retries (integer)

3.1. retries (integer)

   How many retries to attept to reconnect if connection to Postgres
   server becomes broken.

   Default value is 2 (that means three attepts to submit the query, first
   will triger the connection error and two more (the value of this
   parameter) after resetting the connection).

   Example 1.1. Set retries parameter
...
modparam("db_postgres", "retries", 3)
...

4. Functions

   NONE