PostgreSQL Source Code  git master
PLpgSQL_execstate Struct Reference

#include <plpgsql.h>

Data Fields

PLpgSQL_functionfunc
 
TriggerDatatrigdata
 
EventTriggerDataevtrigdata
 
Datum retval
 
bool retisnull
 
Oid rettype
 
Oid fn_rettype
 
bool retistuple
 
bool retisset
 
bool readonly_func
 
bool atomic
 
char * exitlabel
 
ErrorDatacur_error
 
Tuplestorestatetuple_store
 
TupleDesc tuple_store_desc
 
MemoryContext tuple_store_cxt
 
ResourceOwner tuple_store_owner
 
ReturnSetInforsi
 
int found_varno
 
int ndatums
 
PLpgSQL_datum ** datums
 
MemoryContext datum_context
 
ParamListInfo paramLI
 
EStatesimple_eval_estate
 
ResourceOwner simple_eval_resowner
 
ResourceOwner procedure_resowner
 
HTABcast_hash
 
MemoryContext stmt_mcontext
 
MemoryContext stmt_mcontext_parent
 
SPITupleTableeval_tuptable
 
uint64 eval_processed
 
ExprContexteval_econtext
 
PLpgSQL_stmterr_stmt
 
PLpgSQL_variableerr_var
 
const char * err_text
 
void * plugin_info
 

Detailed Description

Definition at line 1021 of file plpgsql.h.

Field Documentation

◆ atomic

◆ cast_hash

HTAB* PLpgSQL_execstate::cast_hash

Definition at line 1078 of file plpgsql.h.

Referenced by get_cast_hashentry(), and plpgsql_estate_setup().

◆ cur_error

ErrorData* PLpgSQL_execstate::cur_error

◆ datum_context

◆ datums

◆ err_stmt

PLpgSQL_stmt* PLpgSQL_execstate::err_stmt

◆ err_text

◆ err_var

PLpgSQL_variable* PLpgSQL_execstate::err_var

Definition at line 1091 of file plpgsql.h.

Referenced by exec_stmt_block(), plpgsql_estate_setup(), and plpgsql_exec_error_callback().

◆ eval_econtext

◆ eval_processed

◆ eval_tuptable

SPITupleTable* PLpgSQL_execstate::eval_tuptable

◆ evtrigdata

EventTriggerData* PLpgSQL_execstate::evtrigdata

◆ exitlabel

char* PLpgSQL_execstate::exitlabel

Definition at line 1039 of file plpgsql.h.

Referenced by exec_stmt_block(), exec_stmt_exit(), and plpgsql_estate_setup().

◆ fn_rettype

Oid PLpgSQL_execstate::fn_rettype

Definition at line 1032 of file plpgsql.h.

Referenced by exec_stmt_return(), and plpgsql_estate_setup().

◆ found_varno

int PLpgSQL_execstate::found_varno

Definition at line 1049 of file plpgsql.h.

Referenced by exec_set_found(), and plpgsql_estate_setup().

◆ func

◆ ndatums

int PLpgSQL_execstate::ndatums

Definition at line 1057 of file plpgsql.h.

Referenced by copy_plpgsql_datums(), plpgsql_estate_setup(), and plpgsql_param_fetch().

◆ paramLI

ParamListInfo PLpgSQL_execstate::paramLI

Definition at line 1068 of file plpgsql.h.

Referenced by exec_eval_simple_expr(), plpgsql_estate_setup(), and setup_param_list().

◆ plugin_info

void* PLpgSQL_execstate::plugin_info

Definition at line 1094 of file plpgsql.h.

Referenced by plpgsql_estate_setup().

◆ procedure_resowner

ResourceOwner PLpgSQL_execstate::procedure_resowner

Definition at line 1075 of file plpgsql.h.

Referenced by exec_stmt_call(), plpgsql_estate_setup(), and plpgsql_exec_function().

◆ readonly_func

◆ retisnull

bool PLpgSQL_execstate::retisnull

◆ retisset

◆ retistuple

bool PLpgSQL_execstate::retistuple

◆ rettype

◆ retval

◆ rsi

ReturnSetInfo* PLpgSQL_execstate::rsi

Definition at line 1047 of file plpgsql.h.

Referenced by exec_init_tuple_store(), plpgsql_estate_setup(), and plpgsql_exec_function().

◆ simple_eval_estate

◆ simple_eval_resowner

◆ stmt_mcontext

MemoryContext PLpgSQL_execstate::stmt_mcontext

◆ stmt_mcontext_parent

MemoryContext PLpgSQL_execstate::stmt_mcontext_parent

◆ trigdata

TriggerData* PLpgSQL_execstate::trigdata

Definition at line 1025 of file plpgsql.h.

Referenced by plpgsql_estate_setup(), plpgsql_exec_trigger(), and plpgsql_fulfill_promise().

◆ tuple_store

◆ tuple_store_cxt

MemoryContext PLpgSQL_execstate::tuple_store_cxt

◆ tuple_store_desc

TupleDesc PLpgSQL_execstate::tuple_store_desc

◆ tuple_store_owner

ResourceOwner PLpgSQL_execstate::tuple_store_owner

Definition at line 1046 of file plpgsql.h.

Referenced by exec_init_tuple_store(), and plpgsql_estate_setup().


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