LCOV - code coverage report
Current view: top level - src/backend/utils/error - elog.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 859 1259 68.2 %
Date: 2025-12-03 09:17:55 Functions: 74 80 92.5 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
CopyErrorData 6416
DebugFileOpen 45080
EmitErrorReport 984644
FlushErrorState 51142
FreeErrorData 142
FreeErrorDataContents 208
GetErrorContextStack 48
ReThrowError 64
ThrowErrorData 18
append_with_tabs 1485778
assign_backtrace_functions 2278
assign_log_destination 2280
assign_syslog_facility 2278
assign_syslog_ident 2278
check_backtrace_functions 2278
check_log_destination 2280
check_log_of_query 960716
err_generic_string 12634
err_gettext 1705096
err_sendstring 1609098
errbacktrace 0
errcode 57634
errcode_for_file_access 152
errcode_for_socket_access 124
errcontext_msg 48472
errdetail 99104
errdetail_internal 3220
errdetail_log 1216
errdetail_log_plural 1560
errdetail_plural 60
errfinish 990994
errhidecontext 19968
errhidestmt 286088
errhint 357240
errhint_internal 72
errhint_plural 8
errmsg 729442
errmsg_internal 261616
errmsg_plural 1192
error_severity 1163656
errposition 12212
errsave_finish 8476
errsave_start 53814
errstart 91680226
errstart_cold 43728
format_elog_string 68
get_backend_type_for_log 1485686
get_error_stack_entry 992380
get_formatted_log_time 1486040
get_formatted_start_time 80
geterrcode 6286
geterrposition 15014
getinternalerrposition 260
in_error_recursion_trouble 4552674
internalerrposition 526
internalerrquery 508
is_log_level_output 95518430
log_line_prefix 1485960
log_status_format 1485960
matches_backtrace_functions 990994
message_level_is_interesting 2877488
pg_re_throw 112114
pre_format_elog_string 68
process_log_prefix_padding 0
reset_formatted_start_time 32978
send_message_to_frontend 202940
send_message_to_server_log 960636
set_backtrace 0
set_errcontext_domain 48472
set_errdata_field 12634
set_stack_entry_domain 992268
set_stack_entry_location 992268
should_output_to_client 94555722
should_output_to_server 94557714
unpack_sql_state 222182
vwrite_stderr 0
write_console 960596
write_pipe_chunks 120
write_stderr 0
write_syslog 0

Generated by: LCOV version 1.16