LCOV - code coverage report
Current view: top level - src/backend/replication/logical - worker.c (source / functions) Hit Total Coverage
Test: PostgreSQL 17devel Lines: 1428 1543 92.5 %
Date: 2024-05-20 05:11:12 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
apply_handle_prepare 26
apply_handle_begin_prepare 28
stream_abort_internal 28
apply_handle_type 36
apply_handle_commit_prepared 38
apply_handle_truncate 38
apply_handle_prepare_internal 42
stop_skipping_changes 52
apply_spooled_messages 62
apply_worker_exit 62
stream_cleanup_files 62
apply_handle_stream_abort 76
TwoPhaseTransactionGid 90
apply_handle_stream_commit 122
subscription_change_cb 132
apply_handle_tuple_routing 146
LogicalRepWorkersWakeupAtCommit 356
run_apply_worker 368
ApplyWorkerMain 378
LogicalRepApplyLoop 644
set_stream_options 644
start_apply 644
set_apply_error_context_origin 664
subxact_info_read 686
SetupApplyOrSyncWorker 722
stream_open_file 724
stream_start_internal 724
stream_stop_internal 724
InitializeLogRepWorker 742
subxact_info_write 742
cleanup_subxact_info 750
apply_handle_commit 756
stream_close_file 784
apply_handle_begin 808
apply_handle_relation 818
apply_handle_commit_internal 836
changes_filename 874
maybe_start_skipping_changes 890
clear_subscription_skip_lsn 932
store_flush_position 964
apply_error_callback 1300
subxact_filename 1490
apply_handle_stream_stop 1712
apply_handle_stream_start 1714
ReplicationOriginNameForLogicalRep 2162
IsLogicalParallelApplyWorker 2644
reset_apply_error_context_info 2754
IsLogicalWorker 3526
set_apply_error_context_xact 5572
maybe_reread_subscription 17592
apply_handle_update_internal 63818
slot_modify_data 63828
apply_handle_delete_internal 80612
get_flush_position 100724
send_feedback 100724
apply_handle_update 132286
FindReplTupleInLocalRel 144454
check_relation_updatable 144512
slot_fill_defaults 153144
apply_handle_insert_internal 153146
apply_handle_delete 163840
subxact_info_add 205024
stream_write_change 215106
finish_edata 297560
create_edata_for_relation 297596
slot_store_data 297596
should_apply_changes_for_rel 297754
end_replication_step 298598
begin_replication_step 298654
apply_handle_insert 373276
UpdateWorkerStats 383070
TargetPrivilegesCheck 442098
AtEOXact_LogicalRepWorkers 557696
handle_streamed_transaction 650290
get_transaction_apply_action 653936
apply_dispatch 675620

Generated by: LCOV version 1.14