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-12-24 15:18:36 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 46098
EmitErrorReport 1052168
FlushErrorState 51558
FreeErrorData 142
FreeErrorDataContents 216
GetErrorContextStack 48
ReThrowError 64
ThrowErrorData 18
append_with_tabs 1574694
assign_backtrace_functions 2340
assign_log_destination 2342
assign_syslog_facility 2340
assign_syslog_ident 2340
check_backtrace_functions 2340
check_log_destination 2342
check_log_of_query 1028004
err_generic_string 12742
err_gettext 1794856
err_sendstring 1614218
errbacktrace 0
errcode 57582
errcode_for_file_access 160
errcode_for_socket_access 88
errcontext_msg 45892
errdetail 92744
errdetail_internal 3210
errdetail_log 1224
errdetail_log_plural 656
errdetail_plural 60
errfinish 1058534
errhidecontext 19968
errhidestmt 289442
errhint 386582
errhint_internal 72
errhint_plural 8
errmsg 762302
errmsg_internal 296294
errmsg_plural 1200
error_severity 1231586
errposition 12374
errsave_finish 8476
errsave_start 53948
errstart 94568762
errstart_cold 44104
format_elog_string 68
get_backend_type_for_log 1574600
get_error_stack_entry 1059920
get_formatted_log_time 1574958
get_formatted_start_time 80
geterrcode 6286
geterrposition 15030
getinternalerrposition 260
in_error_recursion_trouble 4699928
internalerrposition 526
internalerrquery 508
is_log_level_output 98746906
log_line_prefix 1574878
log_status_format 1574878
matches_backtrace_functions 1058534
message_level_is_interesting 3150140
pg_re_throw 113342
pre_format_elog_string 68
process_log_prefix_padding 0
reset_formatted_start_time 34146
send_message_to_frontend 203582
send_message_to_server_log 1027924
set_backtrace 0
set_errcontext_domain 45892
set_errdata_field 12742
set_stack_entry_domain 1059808
set_stack_entry_location 1059808
should_output_to_client 97717078
should_output_to_server 97718902
unpack_sql_state 222842
vwrite_stderr 0
write_console 1027884
write_pipe_chunks 120
write_stderr 0
write_syslog 0

Generated by: LCOV version 1.16