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-03 08:18:35 Functions: 74 80 92.5 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
errbacktrace 0
process_log_prefix_padding 0
set_backtrace 0
vwrite_stderr 0
write_stderr 0
write_syslog 0
errhint_plural 8
ThrowErrorData 18
GetErrorContextStack 48
errdetail_plural 60
ReThrowError 64
format_elog_string 68
pre_format_elog_string 68
errhint_internal 72
get_formatted_start_time 88
errcode_for_socket_access 98
write_pipe_chunks 132
FreeErrorData 142
errcode_for_file_access 152
FreeErrorDataContents 216
errdetail_log_plural 238
getinternalerrposition 260
internalerrquery 508
internalerrposition 526
errmsg_plural 1186
errdetail_log 1218
assign_backtrace_functions 2278
assign_syslog_facility 2278
assign_syslog_ident 2278
check_backtrace_functions 2278
assign_log_destination 2280
check_log_destination 2280
errdetail_internal 3210
geterrcode 6290
CopyErrorData 6416
errsave_finish 8476
errposition 12216
err_generic_string 12634
set_errdata_field 12634
geterrposition 15014
errhidecontext 19968
reset_formatted_start_time 33014
errstart_cold 43706
errcontext_msg 44556
set_errcontext_domain 44556
DebugFileOpen 45416
FlushErrorState 51140
errsave_start 53814
errcode 57602
errdetail 110472
pg_re_throw 112044
send_message_to_frontend 202962
unpack_sql_state 222212
errhidestmt 286506
errmsg_internal 291744
errhint 401902
errmsg 772912
write_console 1034184
send_message_to_server_log 1034228
check_log_of_query 1034316
EmitErrorReport 1058236
errfinish 1064586
matches_backtrace_functions 1064586
set_stack_entry_domain 1065860
set_stack_entry_location 1065860
get_error_stack_entry 1065972
error_severity 1237278
err_sendstring 1609260
get_backend_type_for_log 1612630
append_with_tabs 1612714
log_line_prefix 1612896
log_status_format 1612896
get_formatted_log_time 1612984
err_gettext 1832052
message_level_is_interesting 3074304
in_error_recursion_trouble 4774050
errstart 92318796
should_output_to_client 95391352
should_output_to_server 95393100
is_log_level_output 96427416

Generated by: LCOV version 1.16