DB_POSTGRES :: * Declaration of pg_cmd data structure.
More...
#include "pg_oid.h"
#include "../../lib/srdb2/db_drv.h"
#include "../../lib/srdb2/db_cmd.h"
#include "../../lib/srdb2/db_res.h"
#include "../../str.h"
#include <stdarg.h>
#include <libpq-fe.h>
Go to the source code of this file.
Data Structures
Functions
- int pg_cmd (db_cmd_t *cmd)
- Creates a new pg_cmd data structure.
- int pg_cmd_exec (db_res_t *res, db_cmd_t *cmd)
- The main execution function in postgres SER driver.
- int pg_cmd_first (db_res_t *res)
- Retrieves the first record from a result set received from PostgreSQL server.
- int pg_cmd_next (db_res_t *res)
- Retrieves the next record from a result set received from PostgreSQL server.
- int pg_getopt (db_cmd_t *cmd, char *optname, va_list ap)
- Retrieves the value of an db_cmd option.
- int pg_setopt (db_cmd_t *cmd, char *optname, va_list ap)
- Sets the value of an db_cmd option.
Detailed Description
Declaration of pg_cmd data structure that contains PostgreSQL specific data stored in db_cmd structures and related functions.
Module: DB_POSTGRES :: the PostgreSQL driver for Kamailio
Definition in file pg_cmd.h.