PostgreSQL Source Code: CachedPlan Struct Reference (original) (raw)
#include <[plancache.h](plancache%5F8h%5Fsource.html)>
Data Fields | |
---|---|
int | magic |
List * | stmt_list |
bool | is_oneshot |
bool | is_saved |
bool | is_reused |
bool | is_valid |
Oid | planRoleId |
bool | dependsOnRole |
TransactionId | saved_xmin |
int | generation |
int | refcount |
MemoryContext | context |
MemoryContext | stmt_context |
Definition at line 162 of file plancache.h.
◆ context
◆ dependsOnRole
bool CachedPlan::dependsOnRole
◆ generation
int CachedPlan::generation
◆ is_oneshot
bool CachedPlan::is_oneshot
◆ is_reused
bool CachedPlan::is_reused
◆ is_saved
bool CachedPlan::is_saved
◆ is_valid
bool CachedPlan::is_valid
◆ magic
◆ planRoleId
Oid CachedPlan::planRoleId
◆ refcount
◆ saved_xmin
◆ stmt_context
◆ stmt_list
List* CachedPlan::stmt_list
Definition at line 165 of file plancache.h.
Referenced by _SPI_execute_plan(), exec_bind_message(), exec_save_simple_expr(), ExecuteQuery(), ExplainExecuteQuery(), init_execution_state(), make_callstmt_target(), PlanCacheObjectCallback(), PlanCacheRelCallback(), SPI_cursor_open_internal(), and test_predtest().
The documentation for this struct was generated from the following file:
- src/include/utils/plancache.h