Kea  2.3.5-git
pgsql_connection.cc File Reference
#include <config.h>
#include <database/db_exceptions.h>
#include <database/db_log.h>
#include <pgsql/pgsql_connection.h>
#include <utils/errcodes.h>
#include <sstream>
+ Include dependency graph for pgsql_connection.cc:

Go to the source code of this file.

Namespaces

 isc
 Defines the logger used by the top-level component of kea-lfc.
 
 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 24 of file pgsql_connection.cc.

◆ PGSQL_STATECODE_LEN

#define PGSQL_STATECODE_LEN   5

Definition at line 26 of file pgsql_connection.cc.

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