name mode size
..
doc 040000
Makefile 100644 1.14kB
README 100644 1.85kB
km_db_postgres.c 100644 3kB
km_db_postgres.h 100644 1.22kB
km_dbase.c 100644 25.04kB
km_dbase.h 100644 3.68kB
km_pg_con.c 100644 3.23kB
km_pg_con.h 100644 2.94kB
km_pg_type.h 100644 2.62kB
km_res.c 100644 8.61kB
km_res.h 100644 1.31kB
km_val.c 100644 5.39kB
km_val.h 100644 1.14kB
pg_cmd.c 100644 15.74kB
pg_cmd.h 100644 5.47kB
pg_con.c 100644 9.03kB
pg_con.h 100644 3.5kB
pg_fld.c 100644 23.21kB
pg_fld.h 100644 5.7kB
pg_mod.c 100644 13.85kB
pg_mod.h 100644 1.4kB
pg_oid.c 100644 3.9kB
pg_oid.h 100644 4.49kB
pg_res.c 100644 1.97kB
pg_res.h 100644 1.58kB
pg_sql.c 100644 11.52kB
pg_sql.h 100644 4.83kB
pg_uri.c 100644 6.76kB
pg_uri.h 100644 2.13kB
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