PostgreSQL Source Code
git master
|
#include <plancache.h>
Data Fields | |
int | magic |
List * | stmt_list |
bool | is_oneshot |
bool | is_saved |
bool | is_valid |
Oid | planRoleId |
bool | dependsOnRole |
TransactionId | saved_xmin |
int | generation |
int | refcount |
MemoryContext | context |
Definition at line 147 of file plancache.h.
MemoryContext CachedPlan::context |
Definition at line 160 of file plancache.h.
Referenced by BuildCachedPlan(), CachedPlanSetParentContext(), GetCachedPlan(), and ReleaseCachedPlan().
bool CachedPlan::dependsOnRole |
Definition at line 155 of file plancache.h.
Referenced by BuildCachedPlan(), CachedPlanAllowsSimpleValidityCheck(), and CheckCachedPlan().
int CachedPlan::generation |
Definition at line 158 of file plancache.h.
Referenced by BuildCachedPlan().
bool CachedPlan::is_oneshot |
Definition at line 151 of file plancache.h.
Referenced by BuildCachedPlan(), CachedPlanAllowsSimpleValidityCheck(), CheckCachedPlan(), and ReleaseCachedPlan().
bool CachedPlan::is_saved |
Definition at line 152 of file plancache.h.
Referenced by BuildCachedPlan(), GetCachedPlan(), and ReleaseCachedPlan().
bool CachedPlan::is_valid |
Definition at line 153 of file plancache.h.
Referenced by BuildCachedPlan(), CachedPlanAllowsSimpleValidityCheck(), CachedPlanIsSimplyValid(), CheckCachedPlan(), PlanCacheObjectCallback(), PlanCacheRelCallback(), ResetPlanCache(), and RevalidateCachedQuery().
int CachedPlan::magic |
Definition at line 149 of file plancache.h.
Referenced by BuildCachedPlan(), CachedPlanAllowsSimpleValidityCheck(), CachedPlanIsSimplyValid(), CachedPlanSetParentContext(), CheckCachedPlan(), GetCachedPlan(), ReleaseCachedPlan(), and ReleaseGenericPlan().
Oid CachedPlan::planRoleId |
Definition at line 154 of file plancache.h.
Referenced by BuildCachedPlan(), and CheckCachedPlan().
int CachedPlan::refcount |
Definition at line 159 of file plancache.h.
Referenced by BuildCachedPlan(), CachedPlanAllowsSimpleValidityCheck(), CachedPlanIsSimplyValid(), CheckCachedPlan(), GetCachedPlan(), and ReleaseCachedPlan().
TransactionId CachedPlan::saved_xmin |
Definition at line 156 of file plancache.h.
Referenced by BuildCachedPlan(), CachedPlanAllowsSimpleValidityCheck(), and CheckCachedPlan().
List* CachedPlan::stmt_list |
Definition at line 150 of file plancache.h.
Referenced by _SPI_execute_plan(), BuildCachedPlan(), cached_plan_cost(), CachedPlanAllowsSimpleValidityCheck(), CheckCachedPlan(), exec_bind_message(), exec_save_simple_expr(), ExecuteQuery(), ExplainExecuteQuery(), PlanCacheObjectCallback(), PlanCacheRelCallback(), SPI_cursor_open_internal(), and test_predtest().