Kea 2.7.0
pgsql_connection.h File Reference
#include <asiolink/io_service.h>
#include <pgsql/pgsql_exchange.h>
#include <boost/scoped_ptr.hpp>
#include <vector>
#include <stdint.h>
+ Include dependency graph for pgsql_connection.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  isc::db::PgSqlConnection
 Common PgSql Connector Pool. More...
class  isc::db::PgSqlHolder
 Postgresql connection handle Holder. More...
struct  isc::db::PgSqlTaggedStatement
 Define a PostgreSQL statement. More...
class  isc::db::PgSqlTransaction
 RAII object representing a PostgreSQL transaction. More...


namespace  isc
 Defines the logger used by the top-level component of kea-lfc.
namespace  isc::db


typedef boost::shared_ptr< PgSqlConnectionisc::db::PgSqlConnectionPtr
 Defines a pointer to a PgSqlConnection.


const size_t isc::db::PGSQL_MAX_PARAMETERS_IN_QUERY = 128
const uint32_t isc::db::PGSQL_SCHEMA_VERSION_MAJOR = 23
 Define the PostgreSQL backend version.
const uint32_t isc::db::PGSQL_SCHEMA_VERSION_MINOR = 0
const size_t isc::db::OID_BOOL = 16
const size_t isc::db::OID_BYTEA = 17
const size_t isc::db::OID_INT2 = 21
const size_t isc::db::OID_INT4 = 23
const size_t isc::db::OID_INT8 = 20
const size_t isc::db::OID_NONE = 0
 Constants for PostgreSQL data types These are defined by PostgreSQL in <catalog/pg_type.h>, but including this file is extraordinarily convoluted, so we'll use these to fill-in.
const size_t isc::db::OID_TEXT = 25
const size_t isc::db::OID_TIMESTAMP = 1114
const size_t isc::db::OID_VARCHAR = 1043