|
Cppgres
Build Postgres extensions in C++
|
#include "cppgres/aggregate.hpp"#include "cppgres/bgw.hpp"#include "cppgres/collation.hpp"#include "cppgres/datum.hpp"#include "cppgres/error.hpp"#include "cppgres/exception_impl.hpp"#include "cppgres/executor.hpp"#include "cppgres/function.hpp"#include "cppgres/guard.hpp"#include "cppgres/imports.h"#include "cppgres/memory.hpp"#include "cppgres/node.hpp"#include "cppgres/record.hpp"#include "cppgres/role.hpp"#include "cppgres/set.hpp"#include "cppgres/threading.hpp"#include "cppgres/types.hpp"#include "cppgres/value.hpp"#include "cppgres/xact.hpp"Go to the source code of this file.
Macros | |
| #define | cppgres_hpp |
| #define | postgres_function(name, function) |
| Export a C++ function as a Postgres function. | |
| #define postgres_function | ( | name, | |
| function | |||
| ) |
Export a C++ function as a Postgres function.
Its argument types must conform to the cppgres::convertible_from_nullable_datum concept and its return type must conform to the cppgres::convertible_into_nullable_datum or cppgres::datumable_iterator concepts. This requirement is inherited from cppgres::postgres_function.