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-11-13 08:18:34 Functions: 74 80 92.5 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
CopyErrorData 6412
DebugFileOpen 45228
EmitErrorReport 1057678
FlushErrorState 50606
FreeErrorData 142
FreeErrorDataContents 218
GetErrorContextStack 48
ReThrowError 64
ThrowErrorData 18
append_with_tabs 1559910
assign_backtrace_functions 2274
assign_log_destination 2276
assign_syslog_facility 2274
assign_syslog_ident 2274
check_backtrace_functions 2274
check_log_destination 2276
check_log_of_query 1033844
err_generic_string 12634
err_gettext 1778318
err_sendstring 1604410
errbacktrace 0
errcode 56730
errcode_for_file_access 154
errcode_for_socket_access 140
errcontext_msg 47714
errdetail 74972
errdetail_internal 3226
errdetail_log 1218
errdetail_log_plural 1278
errdetail_plural 60
errfinish 1064024
errhidecontext 19984
errhidestmt 285462
errhint 382744
errhint_internal 72
errhint_plural 8
errmsg 752992
errmsg_internal 310618
errmsg_plural 1196
error_severity 1236282
errposition 11718
errsave_finish 7504
errsave_start 52508
errstart 92203704
errstart_cold 43790
format_elog_string 68
get_backend_type_for_log 1559818
get_error_stack_entry 1064936
get_formatted_log_time 1560172
get_formatted_start_time 80
geterrcode 5810
geterrposition 15010
getinternalerrposition 260
in_error_recursion_trouble 4645096
internalerrposition 526
internalerrquery 508
is_log_level_output 96400602
log_line_prefix 1560092
log_status_format 1560092
matches_backtrace_functions 1064024
message_level_is_interesting 3163054
pg_re_throw 111564
pre_format_elog_string 68
process_log_prefix_padding 0
reset_formatted_start_time 33240
send_message_to_frontend 202438
send_message_to_server_log 1033764
set_backtrace 0
set_errcontext_domain 47714
set_errdata_field 12634
set_stack_entry_domain 1064824
set_stack_entry_location 1064824
should_output_to_client 95364484
should_output_to_server 95366758
unpack_sql_state 221202
vwrite_stderr 0
write_console 1033724
write_pipe_chunks 120
write_stderr 0
write_syslog 0

Generated by: LCOV version 1.16