Cppgres
Build Postgres extensions in C++
Loading...
Searching...
No Matches
cppgres::executor_state Struct Reference

RAII-managed executor state (EState) More...

#include <resource_owner.hpp>

Public Member Functions

 executor_state (const executor_state &)=delete
 
executor_stateoperator= (const executor_state &)=delete
 
 executor_state (executor_state &&other) noexcept
 
executor_stateoperator= (executor_state &&other) noexcept
 
 operator::EState * () const
 
::EState * release () noexcept
 Disown the executor state and return it.
 

Detailed Description

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().


The documentation for this struct was generated from the following file: