LCOV - code coverage report
Current view: top level - src/backend/utils/error - elog.c (source / functions) Hit Total Coverage
Test: PostgreSQL 18beta1 Lines: 848 1253 67.7 %
Date: 2025-06-07 23:16:25 Functions: 73 79 92.4 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
errbacktrace 0
errhint_plural 0
process_log_prefix_padding 0
set_backtrace 0
write_stderr 0
write_syslog 0
ThrowErrorData 18
errdetail_log_plural 34
GetErrorContextStack 48
format_elog_string 54
pre_format_elog_string 54
errdetail_plural 58
ReThrowError 64
errhint_internal 64
get_formatted_start_time 80
errcode_for_socket_access 106
write_pipe_chunks 120
FreeErrorData 142
errcode_for_file_access 154
getinternalerrposition 260
internalerrquery 506
internalerrposition 524
errmsg_plural 1148
errdetail_log 1198
assign_backtrace_functions 2164
assign_syslog_facility 2164
assign_syslog_ident 2164
check_backtrace_functions 2164
assign_log_destination 2166
check_log_destination 2166
errdetail_internal 3138
geterrcode 5730
CopyErrorData 6412
errsave_finish 7242
errposition 11412
err_generic_string 12496
set_errdata_field 12496
geterrposition 15004
errhidecontext 19936
reset_formatted_start_time 30444
DebugFileOpen 41598
errstart_cold 42756
errcontext_msg 42990
set_errcontext_domain 42990
FlushErrorState 49626
get_backend_type_for_log 50888
errsave_start 51998
errcode 55268
errdetail 75714
pg_re_throw 109630
errmsg_internal 188438
send_message_to_frontend 200128
unpack_sql_state 218884
errhint 280356
errhidestmt 288006
errmsg 648268
FreeErrorDataContents 787426
write_console 807570
send_message_to_server_log 807610
check_log_of_query 807690
EmitErrorReport 830736
errfinish 837078
matches_backtrace_functions 837078
set_stack_entry_domain 837872
set_stack_entry_location 837872
get_error_stack_entry 837984
error_severity 1007818
append_with_tabs 1227518
log_line_prefix 1227698
log_status_format 1227698
get_formatted_log_time 1227778
err_gettext 1443010
err_sendstring 1585978
message_level_is_interesting 2550798
in_error_recursion_trouble 4078914
errstart 88736266
should_output_to_client 91285484
should_output_to_server 91287064
is_log_level_output 92094748

Generated by: LCOV version 1.16