← Volver al índice de módulos

db_postgres

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.
🗄️ Base de Datos Kamailio 6.1 12 parámetros

Descripción general

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.

Documentación oficial: https://www.kamailio.org/docs/modules/stable/modules/db_postgres.html
Código fuente: https://github.com/kamailio/kamailio/tree/master/src/modules/db_postgres

Parámetros de configuración

ParámetroTipoDescripción
retries integer 3.2. timeout (integer) 3.3. tcp_keepalive (integer) 3.4. lockset (integer) 3.5. bytea_output_escape (integer) 3.6. con_param (str)
timeout integer 3.3. tcp_keepalive (integer) 3.4. lockset (integer) 3.5. bytea_output_escape (integer) 3.6. con_param (str)
tcp_keepalive integer 3.4. lockset (integer) 3.5. bytea_output_escape (integer) 3.6. con_param (str)
lockset integer 3.5. bytea_output_escape (integer) 3.6. con_param (str)
bytea_output_escape integer 3.6. con_param (str)
con_param str 3.1. retries (integer)
retries integer How many retries to attempt to reconnect if connection to Postgres server becomes broken.
timeout integer Setting this variable to any value larger than zero (which is the default value) enables mainly query timeout. For backward compatibility it also enables connection timeout if connect_timeout param is
tcp_keepalive integer Enable the TCP keepalive timer and set the number of seconds the connection must be idle before to start sending keepalive packets. Defaults to zero, which disables TCP keepalive packets.
lockset integer The value is used as power of two to compute the size of the lock set needed to implement the equivalent of REPLACE SQL statement.
bytea_output_escape integer Control if the module should request escaping the output for bytea fields.
con_param str Specifies the connection string parameters. Parameter definition must be in the format param1=value1;param2=value2. Many parameters can be set.

Autores y contribuidores

Greg FausakAugust.net

Copyright © 2003 Greg Fausak

Módulos relacionados

db2_ops db_cluster db_flatstore db_mongodb db_mysql db_redis db_sqlite db_text