LCOV - code coverage report
Current view: top level - src/backend/replication/logical - worker.c (source / functions) Hit Total Coverage
Test: PostgreSQL 14devel Lines: 1013 1081 93.7 %
Date: 2020-11-10 11:26:58 Functions: 52 54 96.3 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
apply_handle_origin 0
slot_store_error_callback 0
apply_handle_rollback_prepared_txn 4
apply_handle_prepare_txn 6
apply_handle_stream_prepare 12
apply_handle_commit_prepared_txn 16
subscription_change_cb 22
apply_handle_truncate 24
apply_handle_prepare 26
apply_handle_stream_abort 26
apply_handle_stream_commit 28
apply_handle_type 32
apply_spooled_messages 40
stream_cleanup_files 42
apply_handle_tuple_routing 70
cleanup_subxact_info 96
IsLogicalWorker 130
subxact_filename 166
LogicalRepApplyLoop 198
ApplyWorkerMain 210
apply_handle_relation 310
store_flush_position 434
apply_handle_commit 488
apply_handle_begin 500
subxact_info_read 590
apply_handle_stream_start 610
apply_handle_stream_stop 610
stream_close_file 610
stream_open_file 610
subxact_info_write 626
changes_filename 708
maybe_reread_subscription 4160
get_flush_position 61186
send_feedback 61186
apply_handle_delete_internal 62102
apply_handle_update_internal 62766
slot_modify_data 62776
slot_fill_defaults 102826
apply_handle_insert_internal 102828
apply_handle_delete 123746
check_relation_updatable 124876
FindReplTupleInLocalRel 124878
GetRelationIdentityOrPK 124878
apply_handle_update 126428
apply_handle_insert 224746
create_estate_for_relation 227702
slot_store_data 227702
should_apply_changes_for_rel 227768
ensure_transaction 228452
stream_write_change 247246
subxact_info_add 247246
UpdateWorkerStats 253816
handle_streamed_transaction 475286
apply_dispatch 477586

Generated by: LCOV version 1.14