LCOV - code coverage report
Current view: top level - src/backend/utils/error - elog.c (source / functions) Hit Total Coverage
Test: PostgreSQL 18beta1 Lines: 848 1253 67.7 %
Date: 2025-06-28 05:17:58 Functions: 73 79 92.4 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
errbacktrace 0
errhint_plural 0
process_log_prefix_padding 0
set_backtrace 0
write_stderr 0
write_syslog 0
ThrowErrorData 18
errdetail_log_plural 36
GetErrorContextStack 48
format_elog_string 54
pre_format_elog_string 54
errdetail_plural 58
ReThrowError 64
errhint_internal 64
get_formatted_start_time 80
errcode_for_socket_access 90
write_pipe_chunks 120
FreeErrorData 142
errcode_for_file_access 152
getinternalerrposition 260
internalerrquery 506
internalerrposition 524
errmsg_plural 1148
errdetail_log 1192
assign_backtrace_functions 2194
assign_syslog_facility 2194
assign_syslog_ident 2194
check_backtrace_functions 2194
assign_log_destination 2196
check_log_destination 2196
errdetail_internal 3124
geterrcode 5728
CopyErrorData 6416
errsave_finish 7242
errposition 11428
err_generic_string 12496
set_errdata_field 12496
geterrposition 14992
errhidecontext 19882
reset_formatted_start_time 31264
DebugFileOpen 42430
errstart_cold 42794
errcontext_msg 42872
set_errcontext_domain 42872
FlushErrorState 49634
get_backend_type_for_log 50816
errsave_start 52004
errcode 55292
errdetail 96788
pg_re_throw 109614
send_message_to_frontend 200390
unpack_sql_state 219152
errmsg_internal 260512
errhidestmt 288586
errhint 373498
errmsg 742262
FreeErrorDataContents 953504
write_console 973596
send_message_to_server_log 973636
check_log_of_query 973716
EmitErrorReport 996796
errfinish 1003146
matches_backtrace_functions 1003146
set_stack_entry_domain 1003940
set_stack_entry_location 1003940
get_error_stack_entry 1004052
error_severity 1174106
append_with_tabs 1507584
log_line_prefix 1507766
log_status_format 1507766
get_formatted_log_time 1507846
err_sendstring 1588178
err_gettext 1723404
message_level_is_interesting 2956188
in_error_recursion_trouble 4569592
errstart 89882544
should_output_to_client 92837008
should_output_to_server 92838732
is_log_level_output 93812448

Generated by: LCOV version 1.16