# &adminguide;

## Overview

Module description

## Dependencies

### &osips; Modules

The following modules must be loaded before this module:

- No dependencies on other &osips; modules.

### External Libraries or Applications

The following libraries or applications must be installed before running &osips; with this module loaded:

- PostgreSQL library - e.g., libpq5.

- PostgreSQL devel library - to compile the module (e.g., libpq-dev).

## Exported Parameters

### `exec_query_threshold` (integer)

If queries take longer than 'exec_query_threshold' microseconds, warning messages will be written to logging facility.

Default value is 0 - disabled.

#### Set `exec_query_threshold` parameter

    ...
    modparam("db_postgres", "exec_query_threshold", 60000)
    ...

### `max_db_queries` (integer)

The maximum number of database queries to be executed. If this parameter is set improperly, it is set to default value.

Default value is 2.

#### Set `max_db_queries` parameter

    ...
    modparam("db_postgres", "max_db_queries", 2)
    ...

## Exported Functions

NONE

## Installation and Running

Notes about installation and running.