Kea 2.7.5
pgsql_connection.cc File Reference
#include <config.h>
#include <asiolink/io_service.h>
#include <asiolink/process_spawn.h>
#include <database/database_connection.h>
#include <database/db_exceptions.h>
#include <database/db_log.h>
#include <pgsql/pgsql_connection.h>
#include <util/filesystem.h>
#include <exception>
#include <unordered_map>
#include <utils/errcodes.h>
#include <sstream>
+ Include dependency graph for pgsql_connection.cc:

Go to the source code of this file.

Namespaces

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

Macros

#define MAKE_SQLSTATE(ch1, ch2, ch3, ch4, ch5)   {ch1,ch2,ch3,ch4,ch5}
 
#define PGSQL_STATECODE_LEN   5
 

Variables

const int isc::db::PGSQL_DEFAULT_CONNECTION_TIMEOUT = 5
 

Macro Definition Documentation

◆ MAKE_SQLSTATE

#define MAKE_SQLSTATE ( ch1,
ch2,
ch3,
ch4,
ch5 )   {ch1,ch2,ch3,ch4,ch5}

Definition at line 31 of file pgsql_connection.cc.

◆ PGSQL_STATECODE_LEN

#define PGSQL_STATECODE_LEN   5

Definition at line 33 of file pgsql_connection.cc.

Referenced by isc::db::PgSqlConnection::compareError().