PostgreSQL Source Code  git master
PLpgSQL_function Struct Reference

#include <plpgsql.h>

Data Fields

char * fn_signature
 
Oid fn_oid
 
TransactionId fn_xmin
 
ItemPointerData fn_tid
 
PLpgSQL_trigtype fn_is_trigger
 
Oid fn_input_collation
 
PLpgSQL_func_hashkeyfn_hashkey
 
MemoryContext fn_cxt
 
Oid fn_rettype
 
int fn_rettyplen
 
bool fn_retbyval
 
bool fn_retistuple
 
bool fn_retisdomain
 
bool fn_retset
 
bool fn_readonly
 
char fn_prokind
 
int fn_nargs
 
int fn_argvarnos [FUNC_MAX_ARGS]
 
int out_param_varno
 
int found_varno
 
int new_varno
 
int old_varno
 
PLpgSQL_resolve_option resolve_option
 
bool print_strict_params
 
int extra_warnings
 
int extra_errors
 
int ndatums
 
PLpgSQL_datum ** datums
 
Size copiable_size
 
PLpgSQL_stmt_blockaction
 
unsigned int nstatements
 
bool requires_procedure_resowner
 
struct PLpgSQL_execstatecur_estate
 
unsigned long use_count
 

Detailed Description

Definition at line 966 of file plpgsql.h.

Field Documentation

◆ action

◆ copiable_size

Size PLpgSQL_function::copiable_size

Definition at line 1004 of file plpgsql.h.

Referenced by copy_plpgsql_datums().

◆ cur_estate

struct PLpgSQL_execstate* PLpgSQL_function::cur_estate

◆ datums

PLpgSQL_datum** PLpgSQL_function::datums

◆ extra_errors

int PLpgSQL_function::extra_errors

Definition at line 999 of file plpgsql.h.

◆ extra_warnings

int PLpgSQL_function::extra_warnings

Definition at line 998 of file plpgsql.h.

◆ fn_argvarnos

int PLpgSQL_function::fn_argvarnos[FUNC_MAX_ARGS]

Definition at line 987 of file plpgsql.h.

Referenced by plpgsql_exec_function().

◆ fn_cxt

MemoryContext PLpgSQL_function::fn_cxt

Definition at line 975 of file plpgsql.h.

Referenced by make_callstmt_target(), make_datum_param(), and plpgsql_free_function_memory().

◆ fn_hashkey

PLpgSQL_func_hashkey* PLpgSQL_function::fn_hashkey

Definition at line 974 of file plpgsql.h.

Referenced by plpgsql_HashTableInsert().

◆ fn_input_collation

Oid PLpgSQL_function::fn_input_collation

Definition at line 973 of file plpgsql.h.

Referenced by exec_stmt_case().

◆ fn_is_trigger

PLpgSQL_trigtype PLpgSQL_function::fn_is_trigger

Definition at line 972 of file plpgsql.h.

◆ fn_nargs

int PLpgSQL_function::fn_nargs

Definition at line 986 of file plpgsql.h.

Referenced by plpgsql_exec_function().

◆ fn_oid

Oid PLpgSQL_function::fn_oid

Definition at line 969 of file plpgsql.h.

Referenced by exec_stmt_getdiag().

◆ fn_prokind

char PLpgSQL_function::fn_prokind

Definition at line 984 of file plpgsql.h.

Referenced by exec_stmt_return().

◆ fn_readonly

bool PLpgSQL_function::fn_readonly

Definition at line 983 of file plpgsql.h.

Referenced by plpgsql_estate_setup().

◆ fn_retbyval

bool PLpgSQL_function::fn_retbyval

Definition at line 979 of file plpgsql.h.

Referenced by plpgsql_exec_function().

◆ fn_retisdomain

bool PLpgSQL_function::fn_retisdomain

Definition at line 981 of file plpgsql.h.

Referenced by plpgsql_exec_function().

◆ fn_retistuple

bool PLpgSQL_function::fn_retistuple

Definition at line 980 of file plpgsql.h.

Referenced by plpgsql_estate_setup().

◆ fn_retset

bool PLpgSQL_function::fn_retset

Definition at line 982 of file plpgsql.h.

Referenced by plpgsql_estate_setup().

◆ fn_rettype

Oid PLpgSQL_function::fn_rettype

Definition at line 977 of file plpgsql.h.

Referenced by plpgsql_estate_setup(), and plpgsql_exec_function().

◆ fn_rettyplen

int PLpgSQL_function::fn_rettyplen

Definition at line 978 of file plpgsql.h.

Referenced by plpgsql_exec_function().

◆ fn_signature

char* PLpgSQL_function::fn_signature

Definition at line 968 of file plpgsql.h.

Referenced by plpgsql_dumptree(), and plpgsql_exec_error_callback().

◆ fn_tid

ItemPointerData PLpgSQL_function::fn_tid

Definition at line 971 of file plpgsql.h.

◆ fn_xmin

TransactionId PLpgSQL_function::fn_xmin

Definition at line 970 of file plpgsql.h.

◆ found_varno

int PLpgSQL_function::found_varno

Definition at line 989 of file plpgsql.h.

Referenced by plpgsql_estate_setup().

◆ ndatums

int PLpgSQL_function::ndatums

◆ new_varno

int PLpgSQL_function::new_varno

Definition at line 990 of file plpgsql.h.

Referenced by plpgsql_exec_trigger().

◆ nstatements

unsigned int PLpgSQL_function::nstatements

Definition at line 1010 of file plpgsql.h.

◆ old_varno

int PLpgSQL_function::old_varno

Definition at line 991 of file plpgsql.h.

Referenced by plpgsql_exec_trigger().

◆ out_param_varno

int PLpgSQL_function::out_param_varno

Definition at line 988 of file plpgsql.h.

◆ print_strict_params

bool PLpgSQL_function::print_strict_params

Definition at line 995 of file plpgsql.h.

Referenced by exec_stmt_dynexecute(), and exec_stmt_execsql().

◆ requires_procedure_resowner

bool PLpgSQL_function::requires_procedure_resowner

Definition at line 1011 of file plpgsql.h.

Referenced by plpgsql_call_handler().

◆ resolve_option

PLpgSQL_resolve_option PLpgSQL_function::resolve_option

Definition at line 993 of file plpgsql.h.

Referenced by plpgsql_post_column_ref(), and plpgsql_pre_column_ref().

◆ use_count

unsigned long PLpgSQL_function::use_count

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