libpqxx  v4.0-1
C++ library for PostgreSQL
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pqxx::in_doubt_error Class Reference

"Help, I don't know whether transaction was committed successfully!" More...

#include <except.hxx>

Inheritance diagram for pqxx::in_doubt_error:
Collaboration diagram for pqxx::in_doubt_error:

Public Member Functions

 in_doubt_error (const PGSTD::string &)
 

Detailed Description

"Help, I don't know whether transaction was committed successfully!"

Exception that might be thrown in rare cases where the connection to the database is lost while finishing a database transaction, and there's no way of telling whether it was actually executed by the backend. In this case the database is left in an indeterminate (but consistent) state, and only manual inspection will tell which is the case.

Constructor & Destructor Documentation

pqxx::in_doubt_error::in_doubt_error ( const PGSTD::string &  )
explicit

The documentation for this class was generated from the following file: