19 #ifndef PQXX_H_ROBUSTTRANSACTION
20 #define PQXX_H_ROBUSTTRANSACTION
22 #include "pqxx/compiler-public.hxx"
23 #include "pqxx/compiler-internal-pre.hxx"
25 #include "pqxx/dbtransaction"
27 #ifdef PQXX_QUIET_DESTRUCTORS
28 #include "pqxx/errorhandler"
57 const PGSTD::string &IsolationLevel,
58 const PGSTD::string &table_name=PGSTD::string());
61 typedef unsigned long IDType;
64 PGSTD::string m_LogTable;
65 PGSTD::string m_sequence;
68 virtual void do_begin();
69 virtual void do_commit();
70 virtual void do_abort();
72 void PQXX_PRIVATE CreateLogTable();
73 void PQXX_PRIVATE CreateTransactionRecord();
74 PGSTD::string PQXX_PRIVATE sql_delete()
const;
75 void PQXX_PRIVATE DeleteTransactionRecord() throw ();
76 bool PQXX_PRIVATE CheckTransactionRecord();
160 const PGSTD::string &Name=PGSTD::string()) :
161 namedclass(fullname(
"robusttransaction",isolation_tag::name()), Name),
162 basic_robusttransaction(C, isolation_tag::name())
167 #ifdef PQXX_QUIET_DESTRUCTORS
181 #include "pqxx/compiler-internal-post.hxx"