PostgreSQL Source Code  git master
CachedPlanSource Struct Reference

#include <plancache.h>

Data Fields

int magic
 
struct RawStmtraw_parse_tree
 
const char * query_string
 
const char * commandTag
 
Oidparam_types
 
int num_params
 
ParserSetupHook parserSetup
 
void * parserSetupArg
 
int cursor_options
 
bool fixed_result
 
TupleDesc resultDesc
 
MemoryContext context
 
Listquery_list
 
ListrelationOids
 
ListinvalItems
 
struct OverrideSearchPathsearch_path
 
MemoryContext query_context
 
Oid rewriteRoleId
 
bool rewriteRowSecurity
 
bool dependsOnRLS
 
struct CachedPlangplan
 
bool is_oneshot
 
bool is_complete
 
bool is_saved
 
bool is_valid
 
int generation
 
dlist_node node
 
double generic_cost
 
double total_custom_cost
 
int num_custom_plans
 

Detailed Description

Definition at line 93 of file plancache.h.

Field Documentation

◆ commandTag

const char* CachedPlanSource::commandTag

◆ context

◆ cursor_options

int CachedPlanSource::cursor_options

◆ dependsOnRLS

bool CachedPlanSource::dependsOnRLS

◆ fixed_result

◆ generation

int CachedPlanSource::generation

◆ generic_cost

double CachedPlanSource::generic_cost

◆ gplan

◆ invalItems

◆ is_complete

◆ is_oneshot

◆ is_saved

◆ is_valid

◆ magic

◆ node

dlist_node CachedPlanSource::node

Definition at line 126 of file plancache.h.

Referenced by DropCachedPlan(), and SaveCachedPlan().

◆ num_custom_plans

int CachedPlanSource::num_custom_plans

◆ num_params

◆ param_types

◆ parserSetup

ParserSetupHook CachedPlanSource::parserSetup

◆ parserSetupArg

void* CachedPlanSource::parserSetupArg

◆ query_context

MemoryContext CachedPlanSource::query_context

◆ query_list

◆ query_string

◆ raw_parse_tree

◆ relationOids

◆ resultDesc

◆ rewriteRoleId

Oid CachedPlanSource::rewriteRoleId

◆ rewriteRowSecurity

bool CachedPlanSource::rewriteRowSecurity

◆ search_path

struct OverrideSearchPath* CachedPlanSource::search_path

◆ total_custom_cost

double CachedPlanSource::total_custom_cost

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