# util.cxx File Reference

`#include "pqxx/compiler-internal.hxx"`
`#include <cmath>`
`#include <cstring>`
`#include <cerrno>`
`#include <new>`
`#include <sstream>`
`#include "libpq-fe.h"`
`#include "pqxx/except"`
`#include "pqxx/util"`

Include dependency graph for util.cxx:

## Namespaces

namespace | pqxx

## Functions

template<>
void PQXX_LIBEXPORT | pqxx::from_string (const char Str[], PGSTD::string &, size_t)
template<>
void PQXX_LIBEXPORT | pqxx::from_string (const char Str[], long &)
template<>
void PQXX_LIBEXPORT | pqxx::from_string (const char Str[], unsigned long &)
template<>
void PQXX_LIBEXPORT | pqxx::from_string (const char Str[], int &)
template<>
void PQXX_LIBEXPORT | pqxx::from_string (const char Str[], unsigned int &)
template<>
void PQXX_LIBEXPORT | pqxx::from_string (const char Str[], short &)
template<>
void PQXX_LIBEXPORT | pqxx::from_string (const char Str[], unsigned short &)
template<>
void PQXX_LIBEXPORT | pqxx::from_string (const char Str[], float &)
template<>
void PQXX_LIBEXPORT | pqxx::from_string (const char Str[], double &)
template<>
void PQXX_LIBEXPORT | pqxx::from_string (const char Str[], bool &)
template<>
PGSTD::string PQXX_LIBEXPORT | pqxx::to_string (const short &)
template<>
PGSTD::string PQXX_LIBEXPORT | pqxx::to_string (const unsigned short &)
template<>
PGSTD::string PQXX_LIBEXPORT | pqxx::to_string (const int &)
template<>
PGSTD::string PQXX_LIBEXPORT | pqxx::to_string (const unsigned int &)
template<>
PGSTD::string PQXX_LIBEXPORT | pqxx::to_string (const long &)
template<>
PGSTD::string PQXX_LIBEXPORT | pqxx::to_string (const unsigned long &)
template<>
PGSTD::string PQXX_LIBEXPORT | pqxx::to_string (const float &)
template<>
PGSTD::string PQXX_LIBEXPORT | pqxx::to_string (const double &)
template<>
PGSTD::string PQXX_LIBEXPORT | pqxx::to_string (const bool &)
template<>
PGSTD::string PQXX_LIBEXPORT | pqxx::to_string (const char &)
string | pqxx::internal::escape_string (const char str[], size_t maxlen)
| Internal string-escaping function; does not deal well with encoding issues.
string | pqxx::sqlesc (const char str[])
| Escape nul-terminated string for inclusion in SQL strings.
string | pqxx::sqlesc (const char str[], size_t maxlen)
| Escape string for inclusion in SQL strings.
string | pqxx::sqlesc (const string &str)
void | pqxx::internal::freemem_notif (pqxx::internal::pq::PGnotify *p) throw ()
void | pqxx::internal::CheckUniqueRegistration (const namedclass *New, const namedclass *Old)
void | pqxx::internal::CheckUniqueUnregistration (const namedclass *New, const namedclass *Old)
void | pqxx::internal::freepqmem (void *p)
void | pqxx::internal::sleep_seconds (int s)
| Sleep for the given number of seconds.
const char * | pqxx::internal::strerror_wrapper (int err, char buf[], size_t len) throw ()