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
 
unsigned int nstatements
 
int ndatums
 
PLpgSQL_datum ** datums
 
Size copiable_size
 
PLpgSQL_stmt_blockaction
 
struct PLpgSQL_execstatecur_estate
 
unsigned long use_count
 

Detailed Description

Definition at line 980 of file plpgsql.h.

Field Documentation

◆ action

◆ copiable_size

Size PLpgSQL_function::copiable_size

Definition at line 1021 of file plpgsql.h.

Referenced by copy_plpgsql_datums().

◆ cur_estate

struct PLpgSQL_execstate* PLpgSQL_function::cur_estate

◆ datums

◆ extra_errors

int PLpgSQL_function::extra_errors

Definition at line 1013 of file plpgsql.h.

◆ extra_warnings

int PLpgSQL_function::extra_warnings

Definition at line 1012 of file plpgsql.h.

◆ fn_argvarnos

int PLpgSQL_function::fn_argvarnos[FUNC_MAX_ARGS]

Definition at line 1001 of file plpgsql.h.

Referenced by do_compile(), and plpgsql_exec_function().

◆ fn_cxt

MemoryContext PLpgSQL_function::fn_cxt

Definition at line 989 of file plpgsql.h.

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

◆ fn_hashkey

PLpgSQL_func_hashkey* PLpgSQL_function::fn_hashkey

Definition at line 988 of file plpgsql.h.

Referenced by plpgsql_HashTableDelete(), and plpgsql_HashTableInsert().

◆ fn_input_collation

Oid PLpgSQL_function::fn_input_collation

Definition at line 987 of file plpgsql.h.

Referenced by do_compile(), exec_stmt_case(), and plpgsql_parse_wordtype().

◆ fn_is_trigger

PLpgSQL_trigtype PLpgSQL_function::fn_is_trigger

Definition at line 986 of file plpgsql.h.

Referenced by do_compile().

◆ fn_nargs

int PLpgSQL_function::fn_nargs

Definition at line 1000 of file plpgsql.h.

Referenced by plpgsql_exec_function().

◆ fn_oid

Oid PLpgSQL_function::fn_oid

Definition at line 983 of file plpgsql.h.

◆ fn_prokind

char PLpgSQL_function::fn_prokind

Definition at line 998 of file plpgsql.h.

Referenced by do_compile(), and exec_stmt_return().

◆ fn_readonly

bool PLpgSQL_function::fn_readonly

Definition at line 997 of file plpgsql.h.

Referenced by plpgsql_estate_setup().

◆ fn_retbyval

bool PLpgSQL_function::fn_retbyval

Definition at line 993 of file plpgsql.h.

Referenced by plpgsql_exec_function().

◆ fn_retisdomain

bool PLpgSQL_function::fn_retisdomain

Definition at line 995 of file plpgsql.h.

Referenced by plpgsql_exec_function().

◆ fn_retistuple

bool PLpgSQL_function::fn_retistuple

Definition at line 994 of file plpgsql.h.

Referenced by plpgsql_estate_setup().

◆ fn_retset

bool PLpgSQL_function::fn_retset

Definition at line 996 of file plpgsql.h.

Referenced by do_compile(), and plpgsql_estate_setup().

◆ fn_rettype

Oid PLpgSQL_function::fn_rettype

◆ fn_rettyplen

int PLpgSQL_function::fn_rettyplen

Definition at line 992 of file plpgsql.h.

Referenced by plpgsql_exec_function().

◆ fn_signature

char* PLpgSQL_function::fn_signature

Definition at line 982 of file plpgsql.h.

Referenced by do_compile(), plpgsql_dumptree(), and plpgsql_exec_error_callback().

◆ fn_tid

ItemPointerData PLpgSQL_function::fn_tid

Definition at line 985 of file plpgsql.h.

Referenced by plpgsql_compile().

◆ fn_xmin

TransactionId PLpgSQL_function::fn_xmin

Definition at line 984 of file plpgsql.h.

Referenced by plpgsql_compile().

◆ found_varno

int PLpgSQL_function::found_varno

Definition at line 1003 of file plpgsql.h.

Referenced by plpgsql_estate_setup().

◆ ndatums

int PLpgSQL_function::ndatums

◆ new_varno

int PLpgSQL_function::new_varno

Definition at line 1004 of file plpgsql.h.

Referenced by plpgsql_exec_trigger().

◆ nstatements

unsigned int PLpgSQL_function::nstatements

Definition at line 1016 of file plpgsql.h.

◆ old_varno

int PLpgSQL_function::old_varno

Definition at line 1005 of file plpgsql.h.

Referenced by plpgsql_exec_trigger().

◆ out_param_varno

int PLpgSQL_function::out_param_varno

Definition at line 1002 of file plpgsql.h.

◆ print_strict_params

bool PLpgSQL_function::print_strict_params

Definition at line 1009 of file plpgsql.h.

Referenced by exec_stmt_dynexecute(), and exec_stmt_execsql().

◆ resolve_option

PLpgSQL_resolve_option PLpgSQL_function::resolve_option

Definition at line 1007 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: