13#ifndef PQXX_H_CONNECTION
14#define PQXX_H_CONNECTION
16#include "pqxx/compiler-public.hxx"
17#include "pqxx/compiler-internal-pre.hxx"
19#include "pqxx/connectionpolicy.hxx"
20#include "pqxx/basic_connection.hxx"
93 virtual handle do_startconnect(handle)
override;
111 virtual handle do_completeconnect(handle)
override;
134 virtual handle do_dropconnect(
handle)
noexcept override;
135 virtual bool is_ready(
handle)
const noexcept override;
168#include "pqxx/compiler-internal-post.hxx"
The home of all libpqxx classes, functions, templates, etc.
Definition: array.hxx:26
Base-class template for all libpqxx connection types.
Definition: basic_connection.hxx:47
Connection policy; creates an immediate connection to a database.
Definition: connection.hxx:88
connect_direct(const std::string &opts)
Definition: connection.hxx:92
Lazy connection policy; causes connection to be deferred until first use.
Definition: connection.hxx:106
connect_lazy(const std::string &opts)
Definition: connection.hxx:110
Asynchronous connection policy; connects "in the background".
Definition: connection.hxx:127
Nonfunctional, always-down connection policy for testing/debugging purposes.
Definition: connection.hxx:153
connect_null(const std::string &opts)
Definition: connection.hxx:155
Definition: connectionpolicy.hxx:32
internal::pq::PGconn * handle
Definition: connectionpolicy.hxx:34