LCOV - code coverage report
Current view: top level - src/backend/utils/error - elog.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 860 1261 68.2 %
Date: 2026-02-07 09:18:21 Functions: 74 80 92.5 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
CopyErrorData 6430
DebugFileOpen 45912
EmitErrorReport 952218
FlushErrorState 51742
FreeErrorData 142
FreeErrorDataContents 230
GetErrorContextStack 48
ReThrowError 64
ThrowErrorData 18
append_with_tabs 1398056
assign_backtrace_functions 2354
assign_log_destination 2356
assign_syslog_facility 2354
assign_syslog_ident 2354
check_backtrace_functions 2354
check_log_destination 2356
check_log_of_query 927976
err_generic_string 12742
err_gettext 1619156
err_sendstring 1617660
errbacktrace 0
errcode 58070
errcode_for_file_access 160
errcode_for_socket_access 164
errcontext_msg 48570
errdetail 76886
errdetail_internal 3272
errdetail_log 1226
errdetail_log_plural 1478
errdetail_plural 62
errfinish 958580
errhidecontext 20000
errhidestmt 292546
errhint 323376
errhint_internal 72
errhint_plural 8
errmsg 704360
errmsg_internal 254284
errmsg_plural 1210
error_severity 1132024
errposition 12572
errsave_finish 8554
errsave_start 54060
errstart 94038144
errstart_cold 44402
format_elog_string 74
get_backend_type_for_log 1398092
get_error_stack_entry 959978
get_formatted_log_time 1398454
get_formatted_start_time 80
geterrcode 6406
geterrposition 14990
getinternalerrposition 248
in_error_recursion_trouble 4394184
internalerrposition 490
internalerrquery 478
is_log_level_output 97861036
log_line_prefix 1398374
log_status_format 1398374
matches_backtrace_functions 958580
message_level_is_interesting 2894918
pg_re_throw 113860
pre_format_elog_string 74
process_log_prefix_padding 0
reset_formatted_start_time 34442
send_message_to_frontend 204048
send_message_to_server_log 927896
set_backtrace 0
set_errcontext_domain 48570
set_errdata_field 12742
set_stack_entry_domain 959866
set_stack_entry_location 959866
should_output_to_client 96930736
should_output_to_server 96933062
unpack_sql_state 223452
vwrite_stderr 0
write_console 927856
write_pipe_chunks 120
write_stderr 0
write_syslog 0

Generated by: LCOV version 1.16