LCOV - code coverage report
Current view: top level - src/backend/replication/logical - worker.c (source / functions) Hit Total Coverage
Test: PostgreSQL 18devel Lines: 1454 1568 92.7 %
Date: 2024-12-03 17:14:58 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 70
apply_handle_stream_abort 76
apply_handle_stream_commit 122
subscription_change_cb 146
apply_handle_tuple_routing 148
LogicalRepWorkersWakeupAtCommit 372
run_apply_worker 394
ApplyWorkerMain 400
LogicalRepApplyLoop 680
set_stream_options 680
start_apply 680
subxact_info_read 688
set_apply_error_context_origin 700
stream_open_file 726
stream_start_internal 726
stream_stop_internal 726
subxact_info_write 744
SetupApplyOrSyncWorker 750
cleanup_subxact_info 752
InitializeLogRepWorker 770
apply_handle_commit 786
stream_close_file 786
replorigin_reset 804
apply_handle_begin 838
apply_handle_relation 840
apply_handle_commit_internal 866
changes_filename 876
maybe_start_skipping_changes 924
clear_subscription_skip_lsn 966
store_flush_position 998
apply_error_callback 1338
subxact_filename 1494
apply_handle_stream_stop 1674
apply_handle_stream_start 1676
ReplicationOriginNameForLogicalRep 2246
IsLogicalParallelApplyWorker 2736
reset_apply_error_context_info 2750
IsLogicalWorker 3684
set_apply_error_context_xact 5566
maybe_reread_subscription 12126
apply_handle_update_internal 63828
slot_modify_data 63836
apply_handle_delete_internal 80624
get_flush_position 81112
send_feedback 81112
apply_handle_update 132304
FindReplTupleInLocalRel 144478
check_relation_updatable 144540
slot_fill_defaults 152702
apply_handle_insert_internal 152704
apply_handle_delete 163854
subxact_info_add 205024
stream_write_change 215106
finish_edata 297144
create_edata_for_relation 297180
slot_store_data 297196
should_apply_changes_for_rel 297336
end_replication_step 298188
begin_replication_step 298244
apply_handle_insert 372830
UpdateWorkerStats 377582
TargetPrivilegesCheck 441694
handle_streamed_transaction 649894
get_transaction_apply_action 653464
apply_dispatch 675222
AtEOXact_LogicalRepWorkers 742128

Generated by: LCOV version 1.14