Classes | |
class | pqxx::connect_direct |
Connection policy; creates an immediate connection to a database. More... | |
class | pqxx::connect_lazy |
Lazy connection policy; causes connection to be deferred until first use. More... | |
class | pqxx::connect_async |
Asynchronous connection policy; connects "in the background". More... | |
class | pqxx::connect_null |
Nonfunctional, always-down connection policy for debugging purposes. More... | |
class | pqxx::internal::reactivation_avoidance_counter |
class | internal::disable_noticer |
Temporarily disable the notice processor. More... | |
class | internal::reactivation_avoidance_exemption |
Scoped exemption to reactivation avoidance. More... | |
class | pqxx::connectionpolicy |
Typedefs | |
typedef basic_connection< connect_direct > | pqxx::connection |
The "standard" connection type: connect to database right now. | |
typedef basic_connection< connect_lazy > | pqxx::lazyconnection |
A "lazy" connection type: connect to database only when needed. | |
typedef basic_connection< connect_async > | pqxx::asyncconnection |
"Asynchronous" connection type: start connecting, but don't wait for it | |
typedef basic_connection< connect_null > | pqxx::nullconnection |
A "dummy" connection type: don't connect to any database at all. | |
Functions | |
void | pqxx::internal::reactivation_avoidance_counter::add (int n) throw () |
void | pqxx::internal::reactivation_avoidance_counter::clear () throw () |
int | pqxx::internal::reactivation_avoidance_counter::get () const throw () |
void | pqxx::internal::reactivation_avoidance_counter::give_to (reactivation_avoidance_counter &rhs) throw () |
virtual | pqxx::noticer::~noticer () throw () |
virtual void | pqxx::noticer::operator() (const char Msg[])=0 throw () |
virtual void | pqxx::nonnoticer::operator() (const char[]) throw () |
internal::scoped_noticer::~scoped_noticer () | |
internal::scoped_noticer::scoped_noticer (connection_base &c, noticer *t) throw () | |
Take ownership of given noticer, and start using it. | |
internal::reactivation_avoidance_exemption::~reactivation_avoidance_exemption () | |
void | internal::reactivation_avoidance_exemption::close_connection () throw () |
void | internal::wait_read (const internal::pq::PGconn *) |
void | internal::wait_read (const internal::pq::PGconn *, long seconds, long microseconds) |
void | internal::wait_write (const internal::pq::PGconn *) |
|
"Asynchronous" connection type: start connecting, but don't wait for it
|
|
The "standard" connection type: connect to database right now.
|
|
A "lazy" connection type: connect to database only when needed.
|
|
A "dummy" connection type: don't connect to any database at all.
|
|
|
|
|
|
|
|
|
|
|
|
Implements pqxx::noticer. |
|
Implemented in pqxx::nonnoticer. |
|
Take ownership of given noticer, and start using it.
This constructor is not public because its interface does not express the fact that the scoped_noticer takes ownership of the noticer through an |
|
|
|
|
|
|
|
|
|
|
|
|