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 Sort by function name Hit count Sort by hit count
IsIndexUsableForFindingDeletedTuple 2
resume_conflict_info_retention 2
stop_conflict_info_retention 2
update_retention_status 4
DisableSubscriptionAndExit 8
ensure_last_message 8
apply_handle_rollback_prepared 10
stream_open_and_write_change 10
apply_handle_origin 14
FindDeletedTupleInLocalRel 18
apply_handle_stream_prepare 22
stream_abort_internal 28
apply_handle_prepare 30
apply_handle_begin_prepare 32
apply_handle_type 36
apply_handle_commit_prepared 40
apply_handle_truncate 40
apply_handle_prepare_internal 46
stop_skipping_changes 54
apply_spooled_messages 62
stream_cleanup_files 62
apply_handle_stream_abort 76
reset_retention_data_fields 80
apply_worker_exit 90
apply_handle_stream_commit 122
subscription_change_cb 176
apply_handle_tuple_routing 182
wait_for_local_flush 284
adjust_xid_advance_interval 350
get_candidate_xid 350
LogicalRepWorkersWakeupAtCommit 448
run_apply_worker 534
ApplyWorkerMain 660
subxact_info_read 688
stream_open_file 726
stream_start_internal 726
stream_stop_internal 726
subxact_info_write 744
cleanup_subxact_info 752
stream_close_file 786
LogicalRepApplyLoop 806
set_stream_options 806
start_apply 806
set_apply_error_context_origin 826
apply_handle_commit 868
changes_filename 876
apply_handle_relation 938
apply_handle_commit_internal 948
apply_handle_begin 962
clear_subscription_skip_lsn 1048
maybe_start_skipping_changes 1048
SetupApplyOrSyncWorker 1072
store_flush_position 1080
InitializeLogRepWorker 1092
replorigin_reset 1092
subxact_filename 1494
apply_handle_stream_stop 1676
apply_handle_stream_start 1678
ReplicationOriginNameForLogicalRep 2638
reset_apply_error_context_info 2832
IsLogicalParallelApplyWorker 2892
IsLogicalWorker 4174
set_apply_error_context_xact 5774
request_publisher_status 9624
should_stop_conflict_info_retention 9854
apply_error_callback 9898
maybe_reread_subscription 15898
wait_for_publisher_status 18222
process_rdt_phase_transition 28484
apply_handle_update_internal 63848
slot_modify_data 63848
apply_handle_delete_internal 80642
apply_handle_update 132322
send_feedback 140816
get_flush_position 140846
FindReplTupleInLocalRel 144516
check_relation_updatable 144578
slot_fill_defaults 152264
apply_handle_insert_internal 152266
apply_handle_delete 163872
subxact_info_add 205028
stream_write_change 215110
finish_edata 296704
create_edata_for_relation 296780
slot_store_data 296804
should_apply_changes_for_rel 296940
end_replication_step 297752
begin_replication_step 297850
apply_handle_insert 372398
UpdateWorkerStats 382626
TargetPrivilegesCheck 441326
can_advance_nonremovable_xid 520092
maybe_advance_nonremovable_xid 520092
handle_streamed_transaction 649598
get_transaction_apply_action 653172
apply_dispatch 675136
AtEOXact_LogicalRepWorkers 1006688

Generated by: LCOV version 1.16