12#ifndef PQXX_H_CONNECTIONPOLICY
13#define PQXX_H_CONNECTIONPOLICY
15#include "pqxx/compiler-public.hxx"
16#include "pqxx/compiler-internal-pre.hxx"
20#include "pqxx/internal/libpq-forward.hxx"
34 using handle = internal::pq::PGconn *;
39 const
std::
string &options() const noexcept {
return m_options; }
41 virtual handle do_startconnect(handle orig);
42 virtual handle do_completeconnect(handle orig);
43 virtual handle do_dropconnect(handle orig)
noexcept;
44 virtual handle do_disconnect(handle orig)
noexcept;
45 virtual bool is_ready(handle)
const noexcept;
48 handle normalconnect(handle);
51 std::string m_options;
57#include "pqxx/compiler-internal-post.hxx"
The home of all libpqxx classes, functions, templates, etc.
Definition: array.hxx:26
Definition: connectionpolicy.hxx:32
internal::pq::PGconn * handle
Definition: connectionpolicy.hxx:34