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-08 02:17:45 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 36
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 100
write_pipe_chunks 120
FreeErrorData 142
errcode_for_file_access 152
getinternalerrposition 260
internalerrquery 506
internalerrposition 524
errmsg_plural 1160
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 3140
geterrcode 5728
CopyErrorData 6412
errsave_finish 7242
errposition 11410
err_generic_string 12496
set_errdata_field 12496
geterrposition 15004
errhidecontext 19952
reset_formatted_start_time 31210
DebugFileOpen 42174
errstart_cold 42922
errcontext_msg 42928
set_errcontext_domain 42928
FlushErrorState 49630
get_backend_type_for_log 50968
errsave_start 51998
errcode 55434
errdetail 86586
pg_re_throw 109652
send_message_to_frontend 200446
unpack_sql_state 219202
errmsg_internal 269550
errhidestmt 287706
errhint 371814
errmsg 739562
FreeErrorDataContents 959830
write_console 979986
send_message_to_server_log 980026
check_log_of_query 980106
EmitErrorReport 1003150
errfinish 1009496
matches_backtrace_functions 1009496
set_stack_entry_domain 1010290
set_stack_entry_location 1010290
get_error_stack_entry 1010402
error_severity 1180552
append_with_tabs 1502174
log_line_prefix 1502354
log_status_format 1502354
get_formatted_log_time 1502434
err_sendstring 1588560
err_gettext 1718102
message_level_is_interesting 3028002
in_error_recursion_trouble 4550180
errstart 88670448
should_output_to_client 91696396
should_output_to_server 91698450
is_log_level_output 92678556

Generated by: LCOV version 1.16