|
Namespaces |
| namespace | pqxx |
| namespace | pqxx::internal |
| namespace | pqxx::internal::pq |
Defines |
| #define | PQXXPQ |
Typedefs |
| typedef PQXXPQ::PGconn | PGconn |
| typedef PQXXPQ::PGresult | PGresult |
| typedef PQXXPQ::Oid | oid |
| | PostgreSQL row identifier type.
|
| typedef unsigned long | result_size_type |
| typedef long | result_difference_type |
Functions |
| template<typename T> |
| void | error_unsupported_type_in_string_conversion (T) |
| | Dummy name, used by libpqxx in deliberate link errors.
|
| template<typename T> |
| PGSTD::string | error_ambiguous_string_conversion (T) |
| | Dummy name, used to generate meaningful link errors.
|
| template<typename T> |
| void | from_string (const char Str[], T &Obj) |
| | Attempt to convert postgres-generated string to given built-in type.
|
| template<> |
| void PQXX_LIBEXPORT | from_string (const char Str[], long &) |
| template<> |
| void PQXX_LIBEXPORT | from_string (const char Str[], unsigned long &) |
| template<> |
| void PQXX_LIBEXPORT | from_string (const char Str[], int &) |
| template<> |
| void PQXX_LIBEXPORT | from_string (const char Str[], unsigned int &) |
| template<> |
| void PQXX_LIBEXPORT | from_string (const char Str[], short &) |
| template<> |
| void PQXX_LIBEXPORT | from_string (const char Str[], unsigned short &) |
| template<> |
| void PQXX_LIBEXPORT | from_string (const char Str[], float &) |
| template<> |
| void PQXX_LIBEXPORT | from_string (const char Str[], double &) |
| template<> |
| void PQXX_LIBEXPORT | from_string (const char Str[], bool &) |
| template<> |
| void | from_string (const char Str[], PGSTD::string &Obj) |
| template<> |
| void | from_string (const char Str[], PGSTD::stringstream &Obj) |
| template<typename T> |
| void | from_string (const PGSTD::string &Str, T &Obj) |
| template<typename T> |
| void | from_string (const PGSTD::stringstream &Str, T &Obj) |
| template<> |
| void | from_string (const PGSTD::string &Str, PGSTD::string &Obj) |
| template<> |
| void | from_string (const PGSTD::string &, const char &Obj) |
| template<> |
| void | from_string (const PGSTD::string &, const signed char &Obj) |
| template<> |
| void | from_string (const PGSTD::string &, const unsigned char &Obj) |
| template<typename T> |
| PGSTD::string | to_string (const T &) |
| | Convert built-in type to a readable string that PostgreSQL will understand.
|
| template<> |
| PGSTD::string PQXX_LIBEXPORT | to_string (const short &) |
| template<> |
| PGSTD::string PQXX_LIBEXPORT | to_string (const unsigned short &) |
| template<> |
| PGSTD::string PQXX_LIBEXPORT | to_string (const int &) |
| template<> |
| PGSTD::string PQXX_LIBEXPORT | to_string (const unsigned int &) |
| template<> |
| PGSTD::string PQXX_LIBEXPORT | to_string (const long &) |
| template<> |
| PGSTD::string PQXX_LIBEXPORT | to_string (const unsigned long &) |
| template<> |
| PGSTD::string PQXX_LIBEXPORT | to_string (const float &) |
| template<> |
| PGSTD::string PQXX_LIBEXPORT | to_string (const double &) |
| template<> |
| PGSTD::string PQXX_LIBEXPORT | to_string (const bool &) |
| PGSTD::string | to_string (const char Obj[]) |
| PGSTD::string | to_string (const PGSTD::stringstream &Obj) |
| PGSTD::string | to_string (const PGSTD::string &Obj) |
| template<> |
| PGSTD::string PQXX_LIBEXPORT | to_string (const char &) |
| template<> |
| PGSTD::string | to_string (const signed char &Obj) |
| template<> |
| PGSTD::string | to_string (const unsigned char &Obj) |
| template<typename ITER> |
| PGSTD::string | separated_list (const PGSTD::string &sep, ITER begin, ITER end) |
| | Render items list as a string, using given separator between items.
|
| template<typename CONTAINER> |
| PGSTD::string | separated_list (const PGSTD::string &sep, const CONTAINER &c) |
| | Render items in a container as a string, using given separator.
|
| 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) |
| template<typename T> |
| PGSTD::string | ToString (const T &Obj) |
| | Convert object of built-in type to string.
|
| template<> |
| PGSTD::string | ToString (const PGSTD::string &Obj) |
| template<> |
| PGSTD::string | ToString (const char *const &Obj) |
| template<> |
| PGSTD::string | ToString (char *const &Obj) |
| template<> |
| PGSTD::string | ToString (const unsigned char *const &Obj) |
| template<> |
| PGSTD::string | ToString (const bool &Obj) |
| template<> |
| PGSTD::string | ToString (const short &Obj) |
| template<> |
| PGSTD::string | ToString (const unsigned short &Obj) |
| template<typename T> |
| void | FromString (const char Str[], T &Obj) |
| | Convert string to object of built-in type.
|
| 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 *.
|
| template<> |
| void | FromString (const char Str[], PGSTD::string &Obj) |
| template<> |
| void | FromString (const char Str[], const char *&Obj) |
| template<> |
| void | FromString (const char Str[], const unsigned char *&Obj) |
| template<> |
| void | FromString (const char Str[], bool &Obj) |
| PGSTD::string PQXX_LIBEXPORT | sqlesc (const char str[]) |
| | Escape nul-terminated string for inclusion in SQL strings.
|
| PGSTD::string PQXX_LIBEXPORT | sqlesc (const char str[], size_t maxlen) |
| | Escape string for inclusion in SQL strings.
|
| PGSTD::string PQXX_LIBEXPORT | sqlesc (const PGSTD::string &) |
| | Escape string for inclusion in SQL strings.
|
| template<typename T> |
| PGSTD::string | Quote (const T &Obj, bool EmptyIsNull) |
| | Quote string for use in SQL.
|
| template<> |
| PGSTD::string | Quote (const PGSTD::string &Obj, bool EmptyIsNull) |
| | std::string version, on which the other versions are built
|
| template<> |
| PGSTD::string | Quote (const char *const &Obj, bool EmptyIsNull) |
| | Special case for const char *, accepting null pointer as null value.
|
| template<int LEN> |
| PGSTD::string | Quote (const char(&Obj)[LEN], bool EmptyIsNull) |
| | Specialization for string constants.
|
| template<typename T> |
| PGSTD::string | Quote (T Obj) |
| | Quote string for use in SQL.
|
| void | freepqmem (void *) |
| void | freenotif (PQXXPQ::PGnotify *) |
| template<> |
| void | PQAlloc< PQXXPQ::PGresult >::freemem () throw () |
| | Specialized version for result arrays, using PQclear().
|
| template<> |
| void | PQAlloc< PQXXPQ::PGnotify >::freemem () throw () |
| | Specialized version for notify structures, using PQfreeNotify() if available.
|
| 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.
|
Variables |
| const oid | oid_none = 0 |
| | The "null" oid.
|