LCOV - code coverage report
Current view:
top level
-
src/backend/replication/logical
- worker.c
(
source
/ functions)
Coverage
Total
Hit
Test:
PostgreSQL 20devel
Lines:
92.6 %
1840
1703
Test Date:
2026-08-29 15:16:40
Functions:
100.0 %
98
98
Legend:
Lines:    
hit
not hit
Branches:
+
taken
-
not taken
#
not executed
Branches:
69.1 %
989
683
Function Name
Hit count
IsIndexUsableForFindingDeletedTuple
1
resume_conflict_info_retention
1
stop_conflict_info_retention
1
update_retention_status
2
DisableSubscriptionAndExit
4
ensure_last_message
4
apply_handle_rollback_prepared
5
stream_open_and_write_change
5
apply_handle_origin
7
FindDeletedTupleInLocalRel
12
stream_abort_internal
14
apply_handle_stream_prepare
15
apply_handle_prepare
16
apply_handle_begin_prepare
17
apply_handle_type
18
apply_handle_truncate
20
apply_handle_commit_prepared
22
apply_handle_prepare_internal
26
stop_skipping_changes
30
apply_spooled_messages
31
stream_cleanup_files
31
apply_handle_stream_abort
38
reset_retention_data_fields
42
apply_worker_exit
49
apply_handle_stream_commit
61
adjust_xid_advance_interval
91
wait_for_local_flush
97
subscription_change_cb
102
apply_handle_tuple_routing
103
run_apply_worker
318
subxact_info_read
344
stream_open_file
363
stream_start_internal
363
stream_stop_internal
363
subxact_info_write
372
cleanup_subxact_info
376
ApplyWorkerMain
393
stream_close_file
393
LogicalRepWorkersWakeupAtCommit
395
get_candidate_xid
396
changes_filename
438
apply_handle_commit
465
LogicalRepApplyLoop
468
set_stream_options
468
start_apply
468
set_apply_error_context_origin
480
apply_handle_commit_internal
505
apply_handle_relation
514
apply_handle_begin
534
clear_subscription_skip_lsn
560
on_exit_clear_xact_state
561
store_flush_position
575
maybe_start_skipping_changes
578
set_wal_receiver_timeout
610
SetupApplyOrSyncWorker
624
InitializeLogRepWorker
636
subxact_filename
747
apply_handle_stream_stop
842
apply_handle_stream_start
843
reset_apply_remote_context
1456
ReplicationOriginNameForLogicalRep
1548
IsLogicalParallelApplyWorker
2029
IsLogicalWorker
2807
set_remote_transaction_info
2991
request_publisher_status
3914
should_stop_conflict_info_retention
4006
apply_error_callback
4708
wait_for_publisher_status
5636
maybe_reread_subscription
5933
process_rdt_phase_transition
10045
send_feedback
31080
get_flush_position
31093
slot_modify_data
31931
apply_handle_update_internal
31936
apply_handle_delete_internal
40327
apply_handle_update
66174
FindReplTupleInLocalRel
72276
check_relation_updatable
72307
apply_handle_delete
81942
slot_fill_defaults
96208
apply_handle_insert_internal
96209
subxact_info_add
102514
stream_write_change
107555
finish_edata
168429
create_edata_for_relation
168484
slot_store_data
168499
should_apply_changes_for_rel
168574
end_replication_step
168968
begin_replication_step
169039
apply_handle_insert
206291
UpdateWorkerStats
211321
can_advance_nonremovable_xid
240385
maybe_advance_nonremovable_xid
240385
TargetPrivilegesCheck
240770
handle_streamed_transaction
344955
get_transaction_apply_action
346754
apply_dispatch
357824
AtEOXact_LogicalRepWorkers
667248
Generated by:
LCOV version 2.0-1