LCOV - code coverage report
Current view: top level - src/backend/utils/error - elog.c (source / functions) Hit Total Coverage
Test: PostgreSQL 19devel Lines: 852 1259 67.7 %
Date: 2025-12-24 13:18:31 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 80
errcode_for_socket_access 88
write_pipe_chunks 120
FreeErrorData 142
errcode_for_file_access 162
FreeErrorDataContents 216
getinternalerrposition 260
internalerrquery 508
internalerrposition 526
errmsg_plural 1202
errdetail_log 1222
errdetail_log_plural 1670
assign_backtrace_functions 2342
assign_syslog_facility 2342
assign_syslog_ident 2342
check_backtrace_functions 2342
assign_log_destination 2344
check_log_destination 2344
errdetail_internal 3214
geterrcode 6286
CopyErrorData 6432
errsave_finish 8476
errposition 12374
err_generic_string 12742
set_errdata_field 12742
geterrposition 15030
errhidecontext 19878
reset_formatted_start_time 33634
errstart_cold 44074
DebugFileOpen 45692
errcontext_msg 49138
set_errcontext_domain 49138
FlushErrorState 51554
errsave_start 53946
errcode 57558
errdetail 98430
pg_re_throw 113340
send_message_to_frontend 203544
unpack_sql_state 222808
errmsg_internal 283268
errhidestmt 290644
errhint 373280
errmsg 751284
write_console 1003880
send_message_to_server_log 1003920
check_log_of_query 1004000
EmitErrorReport 1028140
errfinish 1034492
matches_backtrace_functions 1034492
set_stack_entry_domain 1035766
set_stack_entry_location 1035766
get_error_stack_entry 1035878
error_severity 1207544
get_backend_type_for_log 1545206
append_with_tabs 1545298
log_line_prefix 1545484
log_status_format 1545484
get_formatted_log_time 1545564
err_sendstring 1613956
err_gettext 1765292
message_level_is_interesting 3035890
in_error_recursion_trouble 4655728
errstart 94599298
should_output_to_client 97633256
should_output_to_server 97635188
is_log_level_output 98639148

Generated by: LCOV version 1.16