Peter Dunkley a03955fff9 modules/db_postgres: Added support for creating new non-pooled DB connections пре 13 година
..
doc c5a51e4236 modules/db_postgres: Fixed copy-and-paste error in module documentation пре 13 година
Makefile 1c4baf2b49 db_postgres: install kamctl files пре 15 година
README c5a51e4236 modules/db_postgres: Fixed copy-and-paste error in module documentation пре 13 година
km_db_postgres.c a03955fff9 modules/db_postgres: Added support for creating new non-pooled DB connections пре 13 година
km_db_postgres.h 5db7f650ad db_postgres: implemented custom REPLACE command for DB API v1 пре 13 година
km_dbase.c a03955fff9 modules/db_postgres: Added support for creating new non-pooled DB connections пре 13 година
km_dbase.h a03955fff9 modules/db_postgres: Added support for creating new non-pooled DB connections пре 13 година
km_pg_con.c 34db39d95f db_postgres: fix doxygen errors, small extensions and cleanups in comments пре 14 година
km_pg_con.h 2bd922dba3 modules/db_postgres: Added affect_rows() API to db_postgres пре 13 година
km_pg_type.h 2881cb8852 - change name in copyright headers пре 17 година
km_res.c 63c724b42d db_postgres: reset row_buf for each row пре 15 година
km_res.h a7bac3b9ab Various changes to get rid of conflicts and make km_ files compile. пре 16 година
km_val.c 7370685a2e db_postgres: null-terminate blob buffers пре 15 година
km_val.h a7bac3b9ab Various changes to get rid of conflicts and make km_ files compile. пре 16 година
pg_cmd.c c65b0d9376 - fixed wrong parameter value passed to PQexecPrepared пре 17 година
pg_cmd.h 34db39d95f db_postgres: fix doxygen errors, small extensions and cleanups in comments пре 14 година
pg_con.c 204503d4aa db_postgres: compile fixes for gcc 2.95 пре 16 година
pg_con.h b372a1051e Make the module compile in the sip-router tree. пре 16 година
pg_fld.c 91d7092587 db_postgres: remove db_int2pg_varbit function, commented out since 2008 пре 14 година
pg_fld.h 34db39d95f db_postgres: fix doxygen errors, small extensions and cleanups in comments пре 14 година
pg_mod.c 0a946efc52 db_postgres: added mod destroy function пре 13 година
pg_mod.h 7c1f066c89 - New postgres driver for the new db api in ser пре 17 година
pg_oid.c e2b6d847e0 Remove compiler warning about uninitialized variable. пре 16 година
pg_oid.h 7c1f066c89 - New postgres driver for the new db api in ser пре 17 година
pg_res.c b372a1051e Make the module compile in the sip-router tree. пре 16 година
pg_res.h b372a1051e Make the module compile in the sip-router tree. пре 16 година
pg_sql.c b372a1051e Make the module compile in the sip-router tree. пре 16 година
pg_sql.h b372a1051e Make the module compile in the sip-router tree. пре 16 година
pg_uri.c b372a1051e Make the module compile in the sip-router tree. пре 16 година
pg_uri.h b372a1051e Make the module compile in the sip-router tree. пре 16 година

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