LCOV - code coverage report
Current view: top level - src/backend/utils/error - elog.c (source / functions) Hit Total Coverage
Test: PostgreSQL 18devel Lines: 850 1243 68.4 %
Date: 2025-04-03 19:16:07 Functions: 74 80 92.5 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
CopyErrorData 6374
DebugFileOpen 40264
EmitErrorReport 882810
FlushErrorState 49232
FreeErrorData 142
FreeErrorDataContents 839904
GetErrorContextStack 48
ReThrowError 64
ThrowErrorData 18
append_with_tabs 1218478
assign_backtrace_functions 2132
assign_log_destination 2134
assign_syslog_facility 2132
assign_syslog_ident 2132
check_backtrace_functions 2132
check_log_destination 2134
check_log_of_query 859796
err_generic_string 12262
err_gettext 1433364
err_sendstring 1582298
errbacktrace 0
errcode 54514
errcode_for_file_access 152
errcode_for_socket_access 88
errcontext_msg 42718
errdetail 75594
errdetail_internal 3134
errdetail_log 1198
errdetail_log_plural 34
errdetail_plural 58
errfinish 889118
errhidecontext 19728
errhidestmt 449828
errhint 219936
errhint_internal 64
errhint_plural 0
errmsg 744246
errmsg_internal 144506
errmsg_plural 1142
error_severity 1059410
errposition 11388
errsave_finish 7224
errsave_start 51932
errstart 87723032
errstart_cold 42040
format_elog_string 54
get_backend_type_for_log 49336
get_error_stack_entry 890024
get_formatted_log_time 1218722
get_formatted_start_time 80
geterrcode 5718
geterrlevel 704
geterrposition 14952
getinternalerrposition 254
in_error_recursion_trouble 4100744
internalerrposition 524
internalerrquery 506
is_log_level_output 90770774
log_line_prefix 1218642
log_status_format 1218642
matches_backtrace_functions 889118
message_level_is_interesting 2187946
pg_re_throw 108548
pre_format_elog_string 54
process_log_prefix_padding 0
reset_formatted_start_time 29250
send_message_to_frontend 199614
send_message_to_server_log 859716
set_backtrace 0
set_errcontext_domain 42718
set_errdata_field 12262
set_stack_entry_domain 889912
set_stack_entry_location 889912
should_output_to_client 89909606
should_output_to_server 89910978
unpack_sql_state 218316
write_console 859676
write_pipe_chunks 120
write_stderr 0
write_syslog 0

Generated by: LCOV version 1.14