|
Cppgres
Build Postgres extensions in C++
|
RAII-managed executor state (EState)
More...
#include <resource_owner.hpp>
Public Member Functions | |
| executor_state (const executor_state &)=delete | |
| executor_state & | operator= (const executor_state &)=delete |
| executor_state (executor_state &&other) noexcept | |
| executor_state & | operator= (executor_state &&other) noexcept |
| operator::EState * () const | |
| ::EState * | release () noexcept |
| Disown the executor state and return it. | |
RAII-managed executor state (EState)
Creates an executor state (CreateExecutorState) on construction and, if still owning at destruction, frees it. Ownership can be relinquished with release().