19 #ifndef PQXX_H_CONNECTIONPOLICY
20 #define PQXX_H_CONNECTIONPOLICY
22 #include "pqxx/compiler-public.hxx"
23 #include "pqxx/compiler-internal-pre.hxx"
27 #include "pqxx/internal/libpq-forward.hxx"
42 typedef internal::pq::PGconn *
handle;
47 const PGSTD::
string &options() const throw () {
return m_options; }
49 virtual handle do_startconnect(handle orig);
50 virtual handle do_completeconnect(handle orig);
51 virtual handle do_dropconnect(handle orig)
throw ();
52 virtual handle do_disconnect(handle orig)
throw ();
53 virtual bool is_ready(handle)
const throw ();
56 handle normalconnect(handle);
59 PGSTD::
string m_options;
65 #include "pqxx/compiler-internal-post.hxx"