#include <plancache.h>
Data Fields | |
int | magic |
Node * | raw_parse_tree |
const char * | query_string |
const char * | commandTag |
Oid * | param_types |
int | num_params |
ParserSetupHook | parserSetup |
void * | parserSetupArg |
int | cursor_options |
bool | fixed_result |
TupleDesc | resultDesc |
MemoryContext | context |
List * | query_list |
List * | relationOids |
List * | invalItems |
struct OverrideSearchPath * | search_path |
MemoryContext | query_context |
struct CachedPlan * | gplan |
bool | is_oneshot |
bool | is_complete |
bool | is_saved |
bool | is_valid |
int | generation |
struct CachedPlanSource * | next_saved |
double | generic_cost |
double | total_custom_cost |
int | num_custom_plans |
Definition at line 76 of file plancache.h.
const char* CachedPlanSource::commandTag |
Definition at line 81 of file plancache.h.
Referenced by CopyCachedPlan(), CreateCachedPlan(), CreateOneShotCachedPlan(), exec_bind_message(), ExecuteQuery(), and SPI_cursor_open_internal().
Definition at line 89 of file plancache.h.
Referenced by CachedPlanSetParentContext(), CompleteCachedPlan(), CopyCachedPlan(), CreateCachedPlan(), CreateOneShotCachedPlan(), DropCachedPlan(), exec_parse_message(), GetCachedPlan(), RevalidateCachedQuery(), and SaveCachedPlan().
Definition at line 86 of file plancache.h.
Referenced by BuildCachedPlan(), choose_custom_plan(), CompleteCachedPlan(), CopyCachedPlan(), CreateCachedPlan(), and CreateOneShotCachedPlan().
Definition at line 87 of file plancache.h.
Referenced by CompleteCachedPlan(), CopyCachedPlan(), CreateCachedPlan(), CreateOneShotCachedPlan(), exec_describe_statement_message(), ExecuteQuery(), ExplainExecuteQuery(), FetchPreparedStatementResultDesc(), and RevalidateCachedQuery().
Definition at line 104 of file plancache.h.
Referenced by BuildCachedPlan(), CopyCachedPlan(), CreateCachedPlan(), and CreateOneShotCachedPlan().
Definition at line 108 of file plancache.h.
Referenced by choose_custom_plan(), CopyCachedPlan(), CreateCachedPlan(), CreateOneShotCachedPlan(), and GetCachedPlan().
struct CachedPlan* CachedPlanSource::gplan |
Definition at line 98 of file plancache.h.
Referenced by CachedPlanSetParentContext(), CheckCachedPlan(), CopyCachedPlan(), CreateCachedPlan(), CreateOneShotCachedPlan(), GetCachedPlan(), PlanCacheFuncCallback(), PlanCacheRelCallback(), ReleaseGenericPlan(), ResetPlanCache(), RevalidateCachedQuery(), and SPI_plan_get_cached_plan().
Definition at line 93 of file plancache.h.
Referenced by CompleteCachedPlan(), CopyCachedPlan(), CreateCachedPlan(), CreateOneShotCachedPlan(), PlanCacheFuncCallback(), and RevalidateCachedQuery().
Definition at line 101 of file plancache.h.
Referenced by CachedPlanGetTargetList(), CachedPlanSetParentContext(), CompleteCachedPlan(), CopyCachedPlan(), CreateCachedPlan(), CreateOneShotCachedPlan(), GetCachedPlan(), RevalidateCachedQuery(), and SaveCachedPlan().
Definition at line 100 of file plancache.h.
Referenced by BuildCachedPlan(), CachedPlanSetParentContext(), choose_custom_plan(), CompleteCachedPlan(), CopyCachedPlan(), CreateCachedPlan(), CreateOneShotCachedPlan(), DropCachedPlan(), RevalidateCachedQuery(), and SaveCachedPlan().
Definition at line 102 of file plancache.h.
Referenced by CachedPlanSetParentContext(), CopyCachedPlan(), CreateCachedPlan(), CreateOneShotCachedPlan(), DropCachedPlan(), GetCachedPlan(), and SaveCachedPlan().
Definition at line 103 of file plancache.h.
Referenced by BuildCachedPlan(), CachedPlanIsValid(), CheckCachedPlan(), CompleteCachedPlan(), CopyCachedPlan(), CreateCachedPlan(), CreateOneShotCachedPlan(), PlanCacheFuncCallback(), PlanCacheRelCallback(), ResetPlanCache(), and RevalidateCachedQuery().
Definition at line 78 of file plancache.h.
Referenced by CachedPlanGetTargetList(), CachedPlanIsValid(), CachedPlanSetParentContext(), CompleteCachedPlan(), CopyCachedPlan(), CreateCachedPlan(), CreateOneShotCachedPlan(), DropCachedPlan(), GetCachedPlan(), PlanCacheFuncCallback(), PlanCacheRelCallback(), ResetPlanCache(), and SaveCachedPlan().
Definition at line 106 of file plancache.h.
Referenced by CopyCachedPlan(), CreateCachedPlan(), CreateOneShotCachedPlan(), DropCachedPlan(), PlanCacheFuncCallback(), PlanCacheRelCallback(), ResetPlanCache(), and SaveCachedPlan().
Definition at line 110 of file plancache.h.
Referenced by choose_custom_plan(), CopyCachedPlan(), CreateCachedPlan(), CreateOneShotCachedPlan(), and GetCachedPlan().
Definition at line 83 of file plancache.h.
Referenced by CompleteCachedPlan(), CopyCachedPlan(), CreateCachedPlan(), CreateOneShotCachedPlan(), EvaluateParams(), exec_bind_message(), exec_describe_statement_message(), ExecuteQuery(), ExplainExecuteQuery(), pg_prepared_statement(), and RevalidateCachedQuery().
Definition at line 82 of file plancache.h.
Referenced by CompleteCachedPlan(), CopyCachedPlan(), CreateCachedPlan(), CreateOneShotCachedPlan(), EvaluateParams(), exec_bind_message(), exec_describe_statement_message(), pg_prepared_statement(), and RevalidateCachedQuery().
Definition at line 84 of file plancache.h.
Referenced by CompleteCachedPlan(), CopyCachedPlan(), CreateCachedPlan(), CreateOneShotCachedPlan(), and RevalidateCachedQuery().
Definition at line 85 of file plancache.h.
Referenced by CompleteCachedPlan(), CopyCachedPlan(), CreateCachedPlan(), CreateOneShotCachedPlan(), and RevalidateCachedQuery().
Definition at line 96 of file plancache.h.
Referenced by CompleteCachedPlan(), CopyCachedPlan(), CreateCachedPlan(), CreateOneShotCachedPlan(), and RevalidateCachedQuery().
Definition at line 91 of file plancache.h.
Referenced by BuildCachedPlan(), CachedPlanGetTargetList(), CompleteCachedPlan(), CopyCachedPlan(), CreateCachedPlan(), CreateOneShotCachedPlan(), exec_simple_check_plan(), exec_stmt_execsql(), ResetPlanCache(), and RevalidateCachedQuery().
const char* CachedPlanSource::query_string |
Definition at line 80 of file plancache.h.
Referenced by _SPI_execute_plan(), CopyCachedPlan(), CreateCachedPlan(), CreateOneShotCachedPlan(), errdetail_execute(), exec_bind_message(), ExecuteQuery(), ExplainExecuteQuery(), pg_prepared_statement(), RevalidateCachedQuery(), SPI_cursor_open_internal(), and SPI_plan_get_cached_plan().
Definition at line 79 of file plancache.h.
Referenced by _SPI_execute_plan(), BuildCachedPlan(), CopyCachedPlan(), CreateCachedPlan(), CreateOneShotCachedPlan(), exec_bind_message(), GetCommandLogLevel(), and RevalidateCachedQuery().
Definition at line 92 of file plancache.h.
Referenced by CompleteCachedPlan(), CopyCachedPlan(), CreateCachedPlan(), CreateOneShotCachedPlan(), PlanCacheRelCallback(), and RevalidateCachedQuery().
Definition at line 88 of file plancache.h.
Referenced by CachedPlanGetTargetList(), CompleteCachedPlan(), CopyCachedPlan(), CreateCachedPlan(), CreateOneShotCachedPlan(), exec_describe_statement_message(), FetchPreparedStatementResultDesc(), RevalidateCachedQuery(), SPI_is_cursor_plan(), and UtilityReturnsTuples().
Definition at line 94 of file plancache.h.
Referenced by CompleteCachedPlan(), CopyCachedPlan(), CreateCachedPlan(), CreateOneShotCachedPlan(), and RevalidateCachedQuery().
Definition at line 109 of file plancache.h.
Referenced by choose_custom_plan(), CopyCachedPlan(), CreateCachedPlan(), CreateOneShotCachedPlan(), and GetCachedPlan().