LCOV - code coverage report
Current view: top level - src/backend/replication/logical - worker.c (source / functions) Hit Total Coverage
Test: PostgreSQL 18devel Lines: 1454 1567 92.8 %
Date: 2025-03-13 16:15:06 Functions: 82 82 100.0 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
DisableSubscriptionAndExit 8
ensure_last_message 8
apply_handle_rollback_prepared 10
stream_open_and_write_change 10
apply_handle_origin 14
apply_handle_stream_prepare 22
stream_abort_internal 28
apply_handle_prepare 30
apply_handle_begin_prepare 32
apply_handle_type 36
apply_handle_truncate 38
apply_handle_commit_prepared 40
apply_handle_prepare_internal 46
stop_skipping_changes 54
apply_spooled_messages 62
stream_cleanup_files 62
apply_worker_exit 72
apply_handle_stream_abort 76
apply_handle_stream_commit 122
apply_handle_tuple_routing 148
subscription_change_cb 158
LogicalRepWorkersWakeupAtCommit 374
run_apply_worker 414
ApplyWorkerMain 422
LogicalRepApplyLoop 718
set_stream_options 718
start_apply 718
subxact_info_read 736
set_apply_error_context_origin 738
stream_open_file 774
stream_start_internal 774
stream_stop_internal 774
subxact_info_write 792
SetupApplyOrSyncWorker 796
cleanup_subxact_info 800
InitializeLogRepWorker 816
stream_close_file 834
apply_handle_commit 836
replorigin_reset 842
apply_handle_relation 864
apply_handle_begin 884
apply_handle_commit_internal 916
changes_filename 924
maybe_start_skipping_changes 970
clear_subscription_skip_lsn 1016
store_flush_position 1048
apply_error_callback 1374
subxact_filename 1590
apply_handle_stream_stop 1720
apply_handle_stream_start 1722
ReplicationOriginNameForLogicalRep 2404
IsLogicalParallelApplyWorker 2746
reset_apply_error_context_info 2848
IsLogicalWorker 3726
set_apply_error_context_xact 5756
maybe_reread_subscription 9704
apply_handle_update_internal 63838
slot_modify_data 63846
apply_handle_delete_internal 80636
get_flush_position 96424
send_feedback 96424
apply_handle_update 132312
FindReplTupleInLocalRel 144500
check_relation_updatable 144562
slot_fill_defaults 152404
apply_handle_insert_internal 152406
apply_handle_delete 163866
subxact_info_add 205026
stream_write_change 215108
finish_edata 296868
create_edata_for_relation 296904
slot_store_data 296920
should_apply_changes_for_rel 297060
end_replication_step 297960
begin_replication_step 298012
apply_handle_insert 372530
UpdateWorkerStats 375248
TargetPrivilegesCheck 441440
handle_streamed_transaction 649638
get_transaction_apply_action 653300
apply_dispatch 675154
AtEOXact_LogicalRepWorkers 811684

Generated by: LCOV version 1.14