libpqxx
The C++ client library for PostgreSQL
pqxx::internal::pq Namespace Reference

Placeholders for libpq declarations. More...

Typedefs

using PGconn = void
 Placeholder for libpq's connection type. More...
 
using PGresult = void
 Placeholder for libpq's result type. More...
 
using PGnotify = void
 Placeholder for libpq's notification type. More...
 
using PQnoticeProcessor = void(*)(void *, char const *)
 Placeholder for libpq's notice processor type. More...
 
using PQconninfoOption = void
 Placeholder for libpq's PQconninfoOption type. More...
 

Functions

void pqfreemem (void const *) noexcept
 Wrapper for PQfreemem(), with C++ linkage. More...
 

Detailed Description

Placeholders for libpq declarations.

No actual libpq symbols are exposed in the application's compilation. It's all abstracted away by libpqxx.

Internally inside libpqxx, we cast these to their "real" types (the C ones) when using them.

Typedef Documentation

◆ PGconn

using pqxx::internal::pq::PGconn = typedef void

Placeholder for libpq's connection type.

◆ PGnotify

using pqxx::internal::pq::PGnotify = typedef void

Placeholder for libpq's notification type.

◆ PGresult

using pqxx::internal::pq::PGresult = typedef void

Placeholder for libpq's result type.

◆ PQconninfoOption

Placeholder for libpq's PQconninfoOption type.

◆ PQnoticeProcessor

using pqxx::internal::pq::PQnoticeProcessor = typedef void (*)(void *, char const *)

Placeholder for libpq's notice processor type.

Function Documentation

◆ pqfreemem()

PQXX_LIBEXPORT void pqxx::internal::pq::pqfreemem ( void const *  ptr)
noexcept

Wrapper for PQfreemem(), with C++ linkage.