11 #ifndef PQXX_VERSION_HXX
12 #define PQXX_VERSION_HXX
14 #if !defined(PQXX_HEADER_PRE)
15 # error "Include libpqxx headers as <pqxx/header>, not <pqxx/header.hxx>."
18 #include <string_view>
24 constexpr
inline std::string_view
const version{
"8.0.1"};
56 #define PQXX_VERSION "8.0.1"
58 #define PQXX_ABI "8.0"
60 #define PQXX_VERSION_MAJOR 8
62 #define PQXX_VERSION_MINOR 0
The home of all libpqxx classes, functions, templates, etc.
Definition: array.cxx:26
constexpr std::string_view const abi_version
Libpqxx ABI version string: major and minor version, but no patch.
Definition: version.hxx:34
constexpr int const version_patch
Libpqxx patch version number. (E.g. for libpqxx 9.3.1, this will be 1.)
Definition: version.hxx:49
constexpr int const version_minor
Minor libpqxx version number. (E.g. for libpqxx 9.3.1, this will be 3.)
Definition: version.hxx:42
constexpr int const version_major
Major libpqxx version number. (E.g. for libpqxx 9.3.1, this will be 9.)
Definition: version.hxx:38
constexpr std::string_view const version
Full libpqxx version string.
Definition: version.hxx:24