You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kamailio/modules/db_postgres
Jon Bonilla cada7f70ee
merge with upstream 3.3.2
13 years ago
..
doc update to 3.3.0 from upstream 13 years ago
Makefile Start versioning of kamailio-3.1-sipwise in svn. 14 years ago
README update to 3.3.0 from upstream 13 years ago
km_db_postgres.c update to 3.3.0 from upstream 13 years ago
km_db_postgres.h update to 3.3.0 from upstream 13 years ago
km_dbase.c merge with upstream 3.3.2 13 years ago
km_dbase.h update to 3.3.0 from upstream 13 years ago
km_pg_con.c update to 3.3.0 from upstream 13 years ago
km_pg_con.h update to 3.3.0 from upstream 13 years ago
km_pg_type.h Start versioning of kamailio-3.1-sipwise in svn. 14 years ago
km_res.c Start versioning of kamailio-3.1-sipwise in svn. 14 years ago
km_res.h Start versioning of kamailio-3.1-sipwise in svn. 14 years ago
km_val.c Start versioning of kamailio-3.1-sipwise in svn. 14 years ago
km_val.h Start versioning of kamailio-3.1-sipwise in svn. 14 years ago
pg_cmd.c update to 3.3.0 from upstream 13 years ago
pg_cmd.h update to 3.3.0 from upstream 13 years ago
pg_con.c Start versioning of kamailio-3.1-sipwise in svn. 14 years ago
pg_con.h Start versioning of kamailio-3.1-sipwise in svn. 14 years ago
pg_fld.c update to 3.3.0 from upstream 13 years ago
pg_fld.h update to 3.3.0 from upstream 13 years ago
pg_mod.c update to 3.3.0 from upstream 13 years ago
pg_mod.h Start versioning of kamailio-3.1-sipwise in svn. 14 years ago
pg_oid.c Start versioning of kamailio-3.1-sipwise in svn. 14 years ago
pg_oid.h Start versioning of kamailio-3.1-sipwise in svn. 14 years ago
pg_res.c Start versioning of kamailio-3.1-sipwise in svn. 14 years ago
pg_res.h Start versioning of kamailio-3.1-sipwise in svn. 14 years ago
pg_sql.c Start versioning of kamailio-3.1-sipwise in svn. 14 years ago
pg_sql.h Start versioning of kamailio-3.1-sipwise in svn. 14 years ago
pg_uri.c Start versioning of kamailio-3.1-sipwise in svn. 14 years ago
pg_uri.h Start versioning of kamailio-3.1-sipwise in svn. 14 years ago

README

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