LCOV - code coverage report
Current view:
top level
-
src/backend/replication/logical
- worker.c
(
source
/ functions)
Hit
Total
Coverage
Test:
PostgreSQL 19devel
Lines:
1682
1821
92.4 %
Date:
2025-11-29 08:17:25
Functions:
97
97
100.0 %
Legend:
Lines:
hit
not hit
Function Name
Hit count
ApplyWorkerMain
660
AtEOXact_LogicalRepWorkers
1006688
DisableSubscriptionAndExit
8
FindDeletedTupleInLocalRel
18
FindReplTupleInLocalRel
144516
InitializeLogRepWorker
1092
IsIndexUsableForFindingDeletedTuple
2
IsLogicalParallelApplyWorker
2892
IsLogicalWorker
4174
LogicalRepApplyLoop
806
LogicalRepWorkersWakeupAtCommit
448
ReplicationOriginNameForLogicalRep
2638
SetupApplyOrSyncWorker
1072
TargetPrivilegesCheck
441326
UpdateWorkerStats
382626
adjust_xid_advance_interval
350
apply_dispatch
675136
apply_error_callback
9898
apply_handle_begin
962
apply_handle_begin_prepare
32
apply_handle_commit
868
apply_handle_commit_internal
948
apply_handle_commit_prepared
40
apply_handle_delete
163872
apply_handle_delete_internal
80642
apply_handle_insert
372398
apply_handle_insert_internal
152266
apply_handle_origin
14
apply_handle_prepare
30
apply_handle_prepare_internal
46
apply_handle_relation
938
apply_handle_rollback_prepared
10
apply_handle_stream_abort
76
apply_handle_stream_commit
122
apply_handle_stream_prepare
22
apply_handle_stream_start
1678
apply_handle_stream_stop
1676
apply_handle_truncate
40
apply_handle_tuple_routing
182
apply_handle_type
36
apply_handle_update
132322
apply_handle_update_internal
63848
apply_spooled_messages
62
apply_worker_exit
90
begin_replication_step
297850
can_advance_nonremovable_xid
520092
changes_filename
876
check_relation_updatable
144578
cleanup_subxact_info
752
clear_subscription_skip_lsn
1048
create_edata_for_relation
296780
end_replication_step
297752
ensure_last_message
8
finish_edata
296704
get_candidate_xid
350
get_flush_position
140846
get_transaction_apply_action
653172
handle_streamed_transaction
649598
maybe_advance_nonremovable_xid
520092
maybe_reread_subscription
15898
maybe_start_skipping_changes
1048
process_rdt_phase_transition
28484
replorigin_reset
1092
request_publisher_status
9624
reset_apply_error_context_info
2832
reset_retention_data_fields
80
resume_conflict_info_retention
2
run_apply_worker
534
send_feedback
140816
set_apply_error_context_origin
826
set_apply_error_context_xact
5774
set_stream_options
806
should_apply_changes_for_rel
296940
should_stop_conflict_info_retention
9854
slot_fill_defaults
152264
slot_modify_data
63848
slot_store_data
296804
start_apply
806
stop_conflict_info_retention
2
stop_skipping_changes
54
store_flush_position
1080
stream_abort_internal
28
stream_cleanup_files
62
stream_close_file
786
stream_open_and_write_change
10
stream_open_file
726
stream_start_internal
726
stream_stop_internal
726
stream_write_change
215110
subscription_change_cb
176
subxact_filename
1494
subxact_info_add
205028
subxact_info_read
688
subxact_info_write
744
update_retention_status
4
wait_for_local_flush
284
wait_for_publisher_status
18222
Generated by:
LCOV version 1.16