2
0
Daniel-Constantin Mierla 97568d7132 modules: rebuild of readme files 9 жил өмнө
..
doc c5a51e4236 modules/db_postgres: Fixed copy-and-paste error in module documentation 13 жил өмнө
Makefile 7abd496560 db_postgres: use variable for make tool in module Makefile 12 жил өмнө
README 97568d7132 modules: rebuild of readme files 9 жил өмнө
km_db_postgres.c 9e1ff4488a all: updated FSF address in GPL text 11 жил өмнө
km_db_postgres.h 9e1ff4488a all: updated FSF address in GPL text 11 жил өмнө
km_dbase.c d7f1c9db34 db_postgres: safety check to see if hasing is over non-null pointer 9 жил өмнө
km_dbase.h 9e1ff4488a all: updated FSF address in GPL text 11 жил өмнө
km_pg_con.c a666493d70 db_postgres: manual revert of d0617167f0aebcaf1e12e6c7f77b2231aed9da51 9 жил өмнө
km_pg_con.h 9e1ff4488a all: updated FSF address in GPL text 11 жил өмнө
km_pg_type.h 9e1ff4488a all: updated FSF address in GPL text 11 жил өмнө
km_res.c 9e1ff4488a all: updated FSF address in GPL text 11 жил өмнө
km_res.h 9e1ff4488a all: updated FSF address in GPL text 11 жил өмнө
km_val.c 9e1ff4488a all: updated FSF address in GPL text 11 жил өмнө
km_val.h 9e1ff4488a all: updated FSF address in GPL text 11 жил өмнө
pg_cmd.c 09c7b67bee db_postgres: handle prepare statements in DB APIv2 12 жил өмнө
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 6d64574118 db_postgres: rename ntohll and htonll functions 9 жил өмнө
pg_fld.h 09c7b67bee db_postgres: handle prepare statements in DB APIv2 12 жил өмнө
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 480b6d4dfc db_postgres: fixed condition checking the parameter for db uri parsing 11 жил өмнө
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