LCOV - code coverage report
Current view: top level - src/backend/utils/misc - guc.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 1850 2232 82.9 %
Date: 2026-02-07 17:18:43 Functions: 96 99 97.0 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
GetConfigOptionResetString 0
guc_realloc 0
guc_restore_error_context_callback 0
GUCArrayReset 2
get_explain_guc_options 12
ResetAllOptions 18
GUCArrayDelete 40
GetConfigOptionFlags 40
DefineCustomRealVariable 46
GUC_check_errcode 48
check_GUC_name_for_parameter_acl 68
reapply_stacked_values 102
free_placeholder 110
add_placeholder_variable 114
DefineCustomIntVariable 122
get_config_handle 132
replace_auto_config_value 166
write_auto_conf_file 166
AlterSystemSetConfigFile 214
assignable_custom_variable_name 214
valid_custom_variable_name 254
convert_real_from_base_unit 268
convert_GUC_name_for_parameter_acl 352
convert_int_from_base_unit 776
EstimateGUCStateSpace 996
SerializeGUCState 996
GUCArrayAdd 1452
validate_option_array_item 1496
SelectConfigFiles 2302
InitializeGUCOptions 2354
build_guc_variables 2354
RestoreGUCState 2976
get_guc_variables 3476
DefineCustomEnumVariable 3770
MarkGUCPrefixReserved 3896
pg_timezone_abbrev_initialize 3920
InitializeGUCOptionsFromEnvironment 3982
ProcessConfigFileInternal 6238
ProcessGUCArray 7238
TransformGUCArray 7370
DefineCustomStringVariable 7592
DefineCustomBoolVariable 7662
parse_real 9110
GetConfigOptionByName 12772
GetConfigOption 14722
convert_to_base_unit 16080
define_custom_variable 19192
init_custom_variable 19192
add_guc_variable 19204
BeginReportingGUCOptions 27882
discard_stack_value 57664
ParseLongOption 57748
estimate_variable_size 62354
serialize_variable 62354
call_real_check_hook 72104
RemoveGUCFromLists 73486
config_enum_lookup_by_name 75264
do_serialize 102768
set_config_option_ext 106738
do_serialize_binary 119988
parse_int 124976
config_enum_get_options 148826
set_config_sourcefile 156446
call_enum_check_hook 186738
can_skip_gucvar 282216
read_gucstate 319866
SetConfigOption 330656
read_gucstate_binary 371384
RestrictSearchPath 414020
extra_field_used 445528
NewGUCNestLevel 455286
set_stack_value 462074
call_bool_check_hook 468676
push_old_value 473368
call_int_check_hook 478600
config_enum_lookup_by_value 488926
ReportGUCOption 685624
ReportChangedGUCOptions 759098
call_string_check_hook 917912
set_config_option 928278
parse_and_validate_value 1061664
InitializeOneGUCOption 1062416
set_config_with_handle 1067726
AtStart_GUC 1081570
guc_name_match 1423592
find_option 1423878
get_config_unit_name 1424306
set_guc_source 1449606
AtEOXact_GUC 1535274
guc_strdup 1549498
guc_free 1694634
guc_malloc 1822178
ShowGUCOption 2124280
string_field_used 2378286
guc_name_hash 2432130
set_string_field 2532060
set_extra_field 3348226
guc_var_compare 12826446
guc_name_compare 15005006

Generated by: LCOV version 1.16