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

Function Name Sort by function name Hit count Sort by hit count
CopyErrorData 6432
DebugFileOpen 45818
EmitErrorReport 959738
FlushErrorState 51746
FreeErrorData 142
FreeErrorDataContents 220
GetErrorContextStack 48
ReThrowError 64
ThrowErrorData 18
append_with_tabs 1403676
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 935496
err_generic_string 12742
err_gettext 1624530
err_sendstring 1617010
errbacktrace 0
errcode 57920
errcode_for_file_access 160
errcode_for_socket_access 114
errcontext_msg 48604
errdetail 79244
errdetail_internal 3242
errdetail_log 1226
errdetail_log_plural 1504
errdetail_plural 62
errfinish 966078
errhidecontext 19998
errhidestmt 292058
errhint 319262
errhint_internal 72
errhint_plural 8
errmsg 699284
errmsg_internal 266866
errmsg_plural 1202
error_severity 1139448
errposition 12576
errsave_finish 8554
errsave_start 54060
errstart 94583550
errstart_cold 44272
format_elog_string 74
get_backend_type_for_log 1403720
get_error_stack_entry 967476
get_formatted_log_time 1404082
get_formatted_start_time 80
geterrcode 6410
geterrposition 14992
getinternalerrposition 248
in_error_recursion_trouble 4392128
internalerrposition 490
internalerrquery 478
is_log_level_output 98373872
log_line_prefix 1404002
log_status_format 1404002
matches_backtrace_functions 966078
message_level_is_interesting 2854852
pg_re_throw 113764
pre_format_elog_string 74
process_log_prefix_padding 0
reset_formatted_start_time 34224
send_message_to_frontend 203952
send_message_to_server_log 935416
set_backtrace 0
set_errcontext_domain 48604
set_errdata_field 12742
set_stack_entry_domain 967364
set_stack_entry_location 967364
should_output_to_client 97436226
should_output_to_server 97438402
unpack_sql_state 223368
vwrite_stderr 0
write_console 935376
write_pipe_chunks 120
write_stderr 0
write_syslog 0

Generated by: LCOV version 1.16