LCOV - code coverage report
Current view: top level - src/backend/utils/error - elog.c (source / functions) Coverage Total Hit
Test: PostgreSQL 19devel Lines: 69.7 % 1361 949
Test Date: 2026-03-03 05:14:59 Functions: 91.7 % 84 77
Legend: Lines:     hit not hit

Function Name Sort by function name Hit count Sort by function hit count
backtrace_cleanup 0
errbacktrace 0
process_log_prefix_padding 0
set_backtrace 0
vwrite_stderr 0
write_stderr 0
write_syslog 0
errhint_plural 4
ThrowErrorData 9
errcode_for_socket_access 22
GetErrorContextStack 24
errdetail_plural 31
ReThrowError 32
errhint_internal 36
log_min_messages_cmp 36
get_formatted_start_time 40
format_elog_string 55
pre_format_elog_string 55
write_pipe_chunks 60
FreeErrorData 71
errcode_for_file_access 81
FreeErrorDataContents 103
getinternalerrposition 124
internalerrquery 239
internalerrposition 245
errdetail_log_plural 395
errmsg_plural 604
errdetail_log 614
assign_backtrace_functions 1188
assign_syslog_facility 1188
assign_syslog_ident 1188
check_backtrace_functions 1188
assign_log_destination 1189
check_log_destination 1189
assign_log_min_messages 1599
check_log_min_messages 1609
errdetail_internal 1665
geterrcode 3189
CopyErrorData 3216
errsave_finish 4280
errposition 6278
err_generic_string 6417
set_errdata_field 6417
geterrposition 7496
errhidecontext 9982
reset_formatted_start_time 17209
errstart_cold 22079
DebugFileOpen 23509
errcontext_msg 23673
set_errcontext_domain 23673
FlushErrorState 26008
errsave_start 26989
errcode 28953
errdetail 36959
pg_re_throw 57225
send_message_to_frontend 102127
unpack_sql_state 111836
errmsg_internal 147943
errhidestmt 151893
errhint 182754
errmsg 378604
write_console 510934
send_message_to_server_log 510954
check_log_of_query 510994
EmitErrorReport 523331
errfinish 526514
matches_backtrace_functions 526514
set_stack_entry_domain 527157
set_stack_entry_location 527157
get_error_stack_entry 527213
error_severity 613121
append_with_tabs 765315
get_backend_type_for_log 765339
log_line_prefix 765480
log_status_format 765480
get_formatted_log_time 765520
err_sendstring 809809
err_gettext 875760
message_level_is_interesting 1558367
in_error_recursion_trouble 2309321
errstart 47438807
should_output_to_client 48996157
should_output_to_server 48997174
is_log_level_output 49508168

Generated by: LCOV version 2.0-1