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-10-23 17:17:24 Functions: 74 80 92.5 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
CopyErrorData 6416
DebugFileOpen 44056
EmitErrorReport 912804
FlushErrorState 50412
FreeErrorData 142
FreeErrorDataContents 210
GetErrorContextStack 48
ReThrowError 64
ThrowErrorData 18
append_with_tabs 1383702
assign_backtrace_functions 2264
assign_log_destination 2266
assign_syslog_facility 2264
assign_syslog_ident 2264
check_backtrace_functions 2264
check_log_destination 2266
check_log_of_query 889432
err_generic_string 12568
err_gettext 1600778
err_sendstring 1596056
errbacktrace 0
errcode 56268
errcode_for_file_access 152
errcode_for_socket_access 128
errcontext_msg 45254
errdetail 100524
errdetail_internal 3196
errdetail_log 1206
errdetail_log_plural 686
errdetail_plural 60
errfinish 919154
errhidecontext 19994
errhidestmt 284628
errhint 327204
errhint_internal 82
errhint_plural 8
errmsg 695156
errmsg_internal 223616
errmsg_plural 1164
error_severity 1090816
errposition 11670
errsave_finish 7502
errsave_start 52502
errstart 89482326
errstart_cold 43342
format_elog_string 60
get_backend_type_for_log 1383608
get_error_stack_entry 920066
get_formatted_log_time 1383962
get_formatted_start_time 80
geterrcode 5816
geterrposition 15012
getinternalerrposition 260
in_error_recursion_trouble 4368274
internalerrposition 526
internalerrquery 508
is_log_level_output 93031768
log_line_prefix 1383882
log_status_format 1383882
matches_backtrace_functions 919154
message_level_is_interesting 2660010
pg_re_throw 111038
pre_format_elog_string 60
process_log_prefix_padding 0
reset_formatted_start_time 32122
send_message_to_frontend 201384
send_message_to_server_log 889352
set_backtrace 0
set_errcontext_domain 45254
set_errdata_field 12568
set_stack_entry_domain 919954
set_stack_entry_location 919954
should_output_to_client 92140284
should_output_to_server 92142336
unpack_sql_state 220150
vwrite_stderr 0
write_console 889312
write_pipe_chunks 120
write_stderr 0
write_syslog 0

Generated by: LCOV version 1.16