PostgreSQL Source Code  git master
CachedPlan Struct Reference

#include <plancache.h>

Data Fields

int magic
 
Liststmt_list
 
bool is_oneshot
 
bool is_saved
 
bool is_valid
 
Oid planRoleId
 
bool dependsOnRole
 
TransactionId saved_xmin
 
int generation
 
int refcount
 
MemoryContext context
 

Detailed Description

Definition at line 143 of file plancache.h.

Field Documentation

◆ context

MemoryContext CachedPlan::context

◆ dependsOnRole

bool CachedPlan::dependsOnRole

Definition at line 151 of file plancache.h.

Referenced by BuildCachedPlan(), and CheckCachedPlan().

◆ generation

int CachedPlan::generation

Definition at line 154 of file plancache.h.

Referenced by BuildCachedPlan(), exec_eval_simple_expr(), and exec_save_simple_expr().

◆ is_oneshot

bool CachedPlan::is_oneshot

Definition at line 147 of file plancache.h.

Referenced by BuildCachedPlan(), CheckCachedPlan(), and ReleaseCachedPlan().

◆ is_saved

bool CachedPlan::is_saved

Definition at line 148 of file plancache.h.

Referenced by BuildCachedPlan(), GetCachedPlan(), and ReleaseCachedPlan().

◆ is_valid

◆ magic

◆ planRoleId

Oid CachedPlan::planRoleId

Definition at line 150 of file plancache.h.

Referenced by BuildCachedPlan(), and CheckCachedPlan().

◆ refcount

int CachedPlan::refcount

Definition at line 155 of file plancache.h.

Referenced by BuildCachedPlan(), CheckCachedPlan(), GetCachedPlan(), and ReleaseCachedPlan().

◆ saved_xmin

TransactionId CachedPlan::saved_xmin

Definition at line 152 of file plancache.h.

Referenced by BuildCachedPlan(), and CheckCachedPlan().

◆ stmt_list


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