LCOV - code coverage report
Current view:
top level
-
src/backend/replication/logical
- worker.c
(
source
/ functions)
Hit
Total
Coverage
Test:
PostgreSQL 18beta1
Lines:
1474
1587
92.9 %
Date:
2025-06-02 17:17:20
Functions:
82
82
100.0 %
Legend:
Lines:
hit
not hit
Function Name
Hit count
ApplyWorkerMain
488
AtEOXact_LogicalRepWorkers
964762
DisableSubscriptionAndExit
8
FindReplTupleInLocalRel
144506
InitializeLogRepWorker
898
IsLogicalParallelApplyWorker
2766
IsLogicalWorker
3980
LogicalRepApplyLoop
758
LogicalRepWorkersWakeupAtCommit
386
ReplicationOriginNameForLogicalRep
2522
SetupApplyOrSyncWorker
878
TargetPrivilegesCheck
441130
UpdateWorkerStats
372686
apply_dispatch
674834
apply_error_callback
1420
apply_handle_begin
920
apply_handle_begin_prepare
32
apply_handle_commit
850
apply_handle_commit_internal
930
apply_handle_commit_prepared
40
apply_handle_delete
163866
apply_handle_delete_internal
80636
apply_handle_insert
372220
apply_handle_insert_internal
152088
apply_handle_origin
14
apply_handle_prepare
30
apply_handle_prepare_internal
46
apply_handle_relation
888
apply_handle_rollback_prepared
10
apply_handle_stream_abort
76
apply_handle_stream_commit
122
apply_handle_stream_prepare
22
apply_handle_stream_start
1676
apply_handle_stream_stop
1674
apply_handle_truncate
38
apply_handle_tuple_routing
150
apply_handle_type
36
apply_handle_update
132320
apply_handle_update_internal
63844
apply_spooled_messages
62
apply_worker_exit
72
begin_replication_step
297660
changes_filename
874
check_relation_updatable
144568
cleanup_subxact_info
750
clear_subscription_skip_lsn
1030
create_edata_for_relation
296592
end_replication_step
297586
ensure_last_message
8
finish_edata
296542
get_flush_position
120206
get_transaction_apply_action
652930
handle_streamed_transaction
649360
maybe_reread_subscription
7042
maybe_start_skipping_changes
1006
replorigin_reset
994
reset_apply_error_context_info
2814
run_apply_worker
480
send_feedback
120206
set_apply_error_context_origin
778
set_apply_error_context_xact
5712
set_stream_options
758
should_apply_changes_for_rel
296750
slot_fill_defaults
152086
slot_modify_data
63848
slot_store_data
296610
start_apply
758
stop_skipping_changes
54
store_flush_position
1062
stream_abort_internal
28
stream_cleanup_files
62
stream_close_file
784
stream_open_and_write_change
10
stream_open_file
724
stream_start_internal
724
stream_stop_internal
724
stream_write_change
215108
subscription_change_cb
170
subxact_filename
1490
subxact_info_add
205026
subxact_info_read
686
subxact_info_write
742
Generated by:
LCOV version 1.16