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: 2026-02-02 18:18:13 Functions: 74 80 92.5 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
CopyErrorData 6430
DebugFileOpen 45692
EmitErrorReport 937756
FlushErrorState 51736
FreeErrorData 142
FreeErrorDataContents 220
GetErrorContextStack 48
ReThrowError 64
ThrowErrorData 18
append_with_tabs 1370798
assign_backtrace_functions 2354
assign_log_destination 2356
assign_syslog_facility 2354
assign_syslog_ident 2354
check_backtrace_functions 2354
check_log_destination 2356
check_log_of_query 913512
err_generic_string 12742
err_gettext 1591662
err_sendstring 1616586
errbacktrace 0
errcode 57942
errcode_for_file_access 162
errcode_for_socket_access 136
errcontext_msg 48660
errdetail 74836
errdetail_internal 3246
errdetail_log 1226
errdetail_log_plural 1506
errdetail_plural 62
errfinish 944120
errhidecontext 20000
errhidestmt 291908
errhint 312768
errhint_internal 72
errhint_plural 8
errmsg 692704
errmsg_internal 251484
errmsg_plural 1206
error_severity 1117422
errposition 12580
errsave_finish 8554
errsave_start 54060
errstart 93713046
errstart_cold 44302
format_elog_string 74
get_backend_type_for_log 1370836
get_error_stack_entry 945518
get_formatted_log_time 1371198
get_formatted_start_time 80
geterrcode 6414
geterrposition 14990
getinternalerrposition 248
in_error_recursion_trouble 4341416
internalerrposition 490
internalerrquery 478
is_log_level_output 97476590
log_line_prefix 1371118
log_status_format 1371118
matches_backtrace_functions 944120
message_level_is_interesting 2850032
pg_re_throw 113784
pre_format_elog_string 74
process_log_prefix_padding 0
reset_formatted_start_time 33990
send_message_to_frontend 203910
send_message_to_server_log 913432
set_backtrace 0
set_errcontext_domain 48660
set_errdata_field 12742
set_stack_entry_domain 945406
set_stack_entry_location 945406
should_output_to_client 96560834
should_output_to_server 96563078
unpack_sql_state 223316
vwrite_stderr 0
write_console 913392
write_pipe_chunks 120
write_stderr 0
write_syslog 0

Generated by: LCOV version 1.16