LCOV - code coverage report
Current view:
top level
-
src/backend/replication/logical
- worker.c
(
source
/ functions)
Coverage
Total
Hit
Test:
PostgreSQL 20devel
Lines:
92.4 %
1840
1701
Test Date:
2026-09-19 09:15:47
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
9
stream_abort_internal
14
apply_handle_stream_prepare
15
apply_handle_prepare
17
apply_handle_begin_prepare
18
apply_handle_type
18
apply_handle_truncate
20
apply_handle_commit_prepared
22
apply_handle_prepare_internal
27
stop_skipping_changes
30
apply_spooled_messages
31
stream_cleanup_files
31
apply_handle_stream_abort
38
apply_worker_exit
48
reset_retention_data_fields
51
apply_handle_stream_commit
61
subscription_change_cb
102
wait_for_local_flush
110
apply_handle_tuple_routing
112
adjust_xid_advance_interval
117
run_apply_worker
323
subxact_info_read
343
stream_open_file
362
stream_start_internal
362
stream_stop_internal
362
subxact_info_write
371
cleanup_subxact_info
375
stream_close_file
392
LogicalRepWorkersWakeupAtCommit
395
ApplyWorkerMain
401
changes_filename
437
apply_handle_commit
446
LogicalRepApplyLoop
479
set_stream_options
479
start_apply
479
apply_handle_commit_internal
486
set_apply_error_context_origin
491
apply_handle_relation
508
apply_handle_begin
524
get_candidate_xid
538
clear_subscription_skip_lsn
541
store_flush_position
556
maybe_start_skipping_changes
569
on_exit_clear_xact_state
570
set_wal_receiver_timeout
618
SetupApplyOrSyncWorker
636
InitializeLogRepWorker
648
subxact_filename
745
apply_handle_stream_stop
839
apply_handle_stream_start
840
reset_apply_remote_context
1435
ReplicationOriginNameForLogicalRep
1570
IsLogicalParallelApplyWorker
2018
IsLogicalWorker
2816
set_remote_transaction_info
2958
request_publisher_status
7919
should_stop_conflict_info_retention
8024
apply_error_callback
8777
maybe_reread_subscription
8970
wait_for_publisher_status
12647
process_rdt_phase_transition
21216
slot_modify_data
31926
apply_handle_update_internal
31928
send_feedback
38418
get_flush_position
38431
apply_handle_delete_internal
40321
apply_handle_update
66165
FindReplTupleInLocalRel
72262
check_relation_updatable
72293
apply_handle_delete
81936
slot_fill_defaults
96652
apply_handle_insert_internal
96653
subxact_info_add
102512
stream_write_change
107553
finish_edata
168849
create_edata_for_relation
168914
slot_store_data
168926
should_apply_changes_for_rel
168992
end_replication_step
169376
begin_replication_step
169455
apply_handle_insert
206722
UpdateWorkerStats
215568
TargetPrivilegesCheck
241189
can_advance_nonremovable_xid
251923
maybe_advance_nonremovable_xid
251923
handle_streamed_transaction
345365
get_transaction_apply_action
347158
apply_dispatch
358201
AtEOXact_LogicalRepWorkers
648027
Generated by:
LCOV version 2.0-1