LCOV - code coverage report
Current view: top level - src/backend/utils/error - elog.c (source / functions) Hit Total Coverage
Test: PostgreSQL 18devel Lines: 850 1243 68.4 %
Date: 2025-04-02 20:15:43 Functions: 74 80 92.5 %
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 92
write_pipe_chunks 120
FreeErrorData 142
errcode_for_file_access 152
getinternalerrposition 254
internalerrquery 506
internalerrposition 524
geterrlevel 708
errmsg_plural 1152
errdetail_log 1198
assign_backtrace_functions 2132
assign_syslog_facility 2132
assign_syslog_ident 2132
check_backtrace_functions 2132
assign_log_destination 2134
check_log_destination 2134
errdetail_internal 3134
geterrcode 5718
CopyErrorData 6374
errsave_finish 7224
errposition 11388
err_generic_string 12256
set_errdata_field 12256
geterrposition 14952
errhidecontext 19730
reset_formatted_start_time 31854
errstart_cold 42072
errcontext_msg 42726
set_errcontext_domain 42726
DebugFileOpen 42942
FlushErrorState 49230
get_backend_type_for_log 49360
errsave_start 51928
errcode 54538
errdetail 71962
pg_re_throw 108540
errmsg_internal 145744
send_message_to_frontend 199628
unpack_sql_state 218330
errhint 221210
errhidestmt 448276
errmsg 743880
FreeErrorDataContents 840790
write_console 860560
send_message_to_server_log 860600
check_log_of_query 860680
EmitErrorReport 883692
errfinish 890000
matches_backtrace_functions 890000
set_stack_entry_domain 890794
set_stack_entry_location 890794
get_error_stack_entry 890906
error_severity 1060308
append_with_tabs 1216958
log_line_prefix 1217122
log_status_format 1217122
get_formatted_log_time 1217202
err_gettext 1431886
err_sendstring 1582386
message_level_is_interesting 2229458
in_error_recursion_trouble 4096650
errstart 87178004
should_output_to_client 89406080
should_output_to_server 89407462
is_log_level_output 90268142

Generated by: LCOV version 1.14