|
Classes |
class | scoped_noticer |
| Temporarily set different noticer for connection, then restore old one. More...
|
class | disable_noticer |
| Temporarily disable the notice processor. More...
|
class | Escaper |
class | transactionfocus |
struct | dereference |
| Functor: dereference iterator. More...
|
struct | deref_ptr |
class | PQAlloc |
| Reference-counted smart pointer to libpq-allocated object. More...
|
class | scoped_array |
class | namedclass |
class | unique |
| Ensure proper opening/closing of GUEST objects related to a "host" object. More...
|
Namespaces |
namespace | pq |
| Forward declarations of libpq types as needed in libpqxx headers.
|
Typedefs |
typedef unsigned long | result_size_type |
typedef long | result_difference_type |
typedef const char * | cstring |
| Work around problem with library export directives and pointers.
|
Functions |
PGSTD::string PQXX_LIBEXPORT | Escape (const PGSTD::string &s, const PGSTD::string &null) |
template<typename STR> |
PGSTD::string | EscapeAny (const PGSTD::string &s, const PGSTD::string &null) |
template<typename STR> |
PGSTD::string | EscapeAny (const char s[], const PGSTD::string &null) |
template<typename T> |
PGSTD::string | EscapeAny (const T &t, const PGSTD::string &null) |
int | digit_to_number (char c) throw () |
| Compute numeric value of given textual digit (assuming that it is a digit).
|
char | number_to_digit (int i) throw () |
template<typename T> |
const char * | FmtString (T t) |
| C-style format strings for various built-in types.
|
template<> |
const char * | FmtString (short) |
template<> |
const char * | FmtString (unsigned short) |
template<> |
const char * | FmtString (int) |
template<> |
const char * | FmtString (long) |
template<> |
const char * | FmtString (float) |
template<> |
const char * | FmtString (double) |
template<> |
const char * | FmtString (char) |
void PQXX_LIBEXPORT | FromString_string (const char Str[], PGSTD::string &Obj) |
| For libpqxx internal use only: convert C string to C++ string.
|
void PQXX_LIBEXPORT | FromString_ucharptr (const char Str[], const unsigned char *&Obj) |
| For libpqxx internal use only: convert unsigned char * to C++ string.
|
PGSTD::string PQXX_LIBEXPORT | Quote_string (const PGSTD::string &Obj, bool EmptyIsNull) |
| For libpqxx internal use only: quote std::string.
|
PGSTD::string PQXX_LIBEXPORT | Quote_charptr (const char Obj[], bool EmptyIsNull) |
| For libpqxx internal use only: quote const char *.
|
void | freepqmem (void *) |
void PQXX_LIBEXPORT | freemem_result (pq::PGresult *) throw () |
template<> |
void | PQAlloc< pq::PGresult >::freemem () throw () |
void PQXX_LIBEXPORT | freemem_notif (pq::PGnotify *) throw () |
template<> |
void | PQAlloc< pq::PGnotify >::freemem () throw () |
void | CheckUniqueRegistration (const namedclass *New, const namedclass *Old) |
void | CheckUniqueUnregistration (const namedclass *New, const namedclass *Old) |
void PQXX_LIBEXPORT | sleep_seconds (int) |
| Sleep for the given number of seconds.
|
cstring PQXX_LIBEXPORT | strerror_wrapper (int err, char buf[], PGSTD::size_t len) throw () |
| Human-readable description for error code, possibly using given buffer.
|
This namespace hides definitions internal to libpqxx. These are not supposed to be used by client programs, and they may change at any time without notice.
Conversely, if you find something in this namespace tremendously useful, by all means do lodge a request for its publication.