LCOV - code coverage report
Current view:
top level
-
src/backend/replication/logical
- worker.c
(
source
/ functions)
Hit
Total
Coverage
Test:
PostgreSQL 17devel
Lines:
1429
1543
92.6 %
Date:
2024-05-02 02:11:28
Functions:
82
82
100.0 %
Legend:
Lines:
hit
not hit
Function Name
Hit count
ApplyWorkerMain
372
AtEOXact_LogicalRepWorkers
566782
DisableSubscriptionAndExit
8
FindReplTupleInLocalRel
144454
InitializeLogRepWorker
736
IsLogicalParallelApplyWorker
2664
IsLogicalWorker
3554
LogicalRepApplyLoop
644
LogicalRepWorkersWakeupAtCommit
356
ReplicationOriginNameForLogicalRep
2156
SetupApplyOrSyncWorker
716
TargetPrivilegesCheck
442104
TwoPhaseTransactionGid
90
UpdateWorkerStats
371962
apply_dispatch
665540
apply_error_callback
1274
apply_handle_begin
814
apply_handle_begin_prepare
28
apply_handle_commit
760
apply_handle_commit_internal
838
apply_handle_commit_prepared
38
apply_handle_delete
163840
apply_handle_delete_internal
80612
apply_handle_insert
363284
apply_handle_insert_internal
153152
apply_handle_origin
14
apply_handle_prepare
26
apply_handle_prepare_internal
42
apply_handle_relation
816
apply_handle_rollback_prepared
10
apply_handle_stream_abort
76
apply_handle_stream_commit
118
apply_handle_stream_prepare
22
apply_handle_stream_start
1668
apply_handle_stream_stop
1666
apply_handle_truncate
38
apply_handle_tuple_routing
146
apply_handle_type
36
apply_handle_update
132286
apply_handle_update_internal
63818
apply_spooled_messages
62
apply_worker_exit
64
begin_replication_step
298664
changes_filename
876
check_relation_updatable
144512
cleanup_subxact_info
752
clear_subscription_skip_lsn
934
create_edata_for_relation
297602
end_replication_step
298606
ensure_last_message
8
finish_edata
297566
get_flush_position
70858
get_transaction_apply_action
643846
handle_streamed_transaction
640296
maybe_reread_subscription
6526
maybe_start_skipping_changes
896
reset_apply_error_context_info
2710
run_apply_worker
364
send_feedback
70858
set_apply_error_context_origin
664
set_apply_error_context_xact
5484
set_stream_options
644
should_apply_changes_for_rel
297760
slot_fill_defaults
153150
slot_modify_data
63828
slot_store_data
297602
start_apply
644
stop_skipping_changes
52
store_flush_position
964
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
215106
subscription_change_cb
136
subxact_filename
1494
subxact_info_add
205024
subxact_info_read
688
subxact_info_write
744
Generated by:
LCOV version 1.14