libpqxx
The C++ client library for PostgreSQL
util.cxx File Reference
#include "pqxx-source.hxx"
#include <array>
#include <cassert>
#include <cerrno>
#include <cmath>
#include <cstdlib>
#include <cstring>
#include <new>
#include "pqxx/internal/header-pre.hxx"
#include <libpq-fe.h>
#include "pqxx/except.hxx"
#include "pqxx/util.hxx"
#include "pqxx/version.hxx"
#include "pqxx/internal/header-post.hxx"
+ Include dependency graph for util.cxx:

Namespaces

 pqxx
 The home of all libpqxx classes, functions, templates, etc.
 
 pqxx::internal
 Private namespace for libpqxx's internal use; do not access.
 
 pqxx::internal::pq
 Placeholders for libpq declarations.
 

Functions

void pqxx::internal::esc_bin (bytes_view binary_data, std::span< char > buffer) noexcept
 Hex-escape binary data into a buffer. More...
 
std::string pqxx::internal::esc_bin (bytes_view binary_data)
 Hex-escape binary data into a std::string. More...
 
void pqxx::internal::unesc_bin (std::string_view escaped_data, std::span< std::byte > buffer, sl loc)
 Reconstitute binary data from its escaped version. More...
 
pqxx::bytes pqxx::internal::unesc_bin (std::string_view escaped_data, sl loc)
 Reconstitute binary data from its escaped version. More...
 
int pqxx::internal::check_libpqxx_version (int apps_major, int apps_minor, int apps_patch, std::string_view apps_version)
 Check library binary version against application's expectations. More...
 
void pqxx::internal::pq::pqfreemem (void const *) noexcept
 Wrapper for PQfreemem(), with C++ linkage. More...
 

Variables

volatile int const pqxx::internal::binary_major {version_major}
 Persistent copies of libpqxx version information. More...
 
volatile int const pqxx::internal::binary_minor {version_minor}
 
volatile int const pqxx::internal::binary_patch {version_patch}
 
std::string_view const pqxx::internal::binary_version {version}
 Peristent copy of libpqxx version string. More...