LCOV - code coverage report
Current view: top level - src/backend/commands - tablecmds.c (source / functions) Hit Total Coverage
Test: PostgreSQL 18devel Lines: 5980 6528 91.6 %
Date: 2025-01-30 14:15:28 Functions: 197 198 99.5 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
ATAddCheckNNConstraint 10288
ATAddForeignKeyConstraint 2572
ATCheckPartitionsNotInUse 822
ATColumnChangeRequiresRewrite 948
ATController 29454
ATDetachCheckNoForeignKeyRefs 514
ATExecAddColumn 2644
ATExecAddConstraint 12048
ATExecAddIdentity 160
ATExecAddIndex 1590
ATExecAddIndexConstraint 9540
ATExecAddInherit 330
ATExecAddOf 66
ATExecAddStatistics 14
ATExecAlterChildConstr 42
ATExecAlterColumnGenericOptions 172
ATExecAlterColumnType 976
ATExecAlterConstrRecurse 180
ATExecAlterConstraint 126
ATExecAttachPartition 2240
ATExecAttachPartitionIdx 392
ATExecChangeOwner 2026
ATExecClusterOn 64
ATExecCmd 54762
ATExecColumnDefault 562
ATExecCookedColumnDefault 56
ATExecDetachPartition 558
ATExecDetachPartitionFinalize 14
ATExecDropCluster 18
ATExecDropColumn 2148
ATExecDropConstraint 816
ATExecDropExpression 32
ATExecDropIdentity 68
ATExecDropInherit 86
ATExecDropNotNull 256
ATExecDropOf 6
ATExecEnableDisableRule 46
ATExecEnableDisableTrigger 340
ATExecForceNoForceRowSecurity 120
ATExecGenericOptions 58
ATExecReplicaIdentity 502
ATExecSetAccessMethodNoStorage 44
ATExecSetCompression 68
ATExecSetExpression 84
ATExecSetIdentity 74
ATExecSetNotNull 580
ATExecSetOptions 32
ATExecSetRelOptions 946
ATExecSetRowSecurity 294
ATExecSetStatistics 164
ATExecSetStorage 234
ATExecSetTableSpace 162
ATExecSetTableSpaceNoStorage 36
ATExecValidateConstraint 454
ATGetQueueEntry 38480
ATParseTransformCmd 21500
ATPostAlterTypeCleanup 994
ATPostAlterTypeParse 798
ATPrepAddColumn 2014
ATPrepAddInherit 348
ATPrepAddPrimaryKey 15002
ATPrepAlterColumnType 1180
ATPrepChangePersistence 100
ATPrepCmd 31888
ATPrepDropColumn 1604
ATPrepDropExpression 44
ATPrepSetAccessMethod 110
ATPrepSetTableSpace 158
ATRewriteCatalogs 29110
ATRewriteTable 5286
ATRewriteTables 26558
ATSimplePermissions 34944
ATSimpleRecursion 1124
ATTypedTableRecursion 190
AlterConstrTriggerDeferrability 180
AlterIndexNamespaces 86
AlterRelationNamespaceInternal 188
AlterSeqNamespaces 86
AlterTable 29194
AlterTableGetLockLevel 29696
AlterTableInternal 278
AlterTableLookupRelation 29418
AlterTableMoveAll 30
AlterTableNamespace 104
AlterTableNamespaceInternal 86
AtEOSubXact_on_commit_actions 19968
AtEOXact_on_commit_actions 787816
AttachPartitionEnsureIndexes 2018
BuildDescForRelation 60812
CheckAlterTableIsSafe 55898
CheckRelationTableSpaceMove 226
CheckTableNotInUse 160158
ChooseForeignKeyConstraintNameAddition 2408
CloneFkReferenced 9340
CloneFkReferencing 9340
CloneForeignKeyConstraints 9340
CloneRowTriggersToPartition 2408
ComputePartitionAttrs 4772
ConstraintImpliedByRelConstraint 4222
CreateFKCheckTrigger 5732
CreateInheritance 2390
DefineRelation 58472
DetachAddConstraintIfNeeded 140
DetachPartitionFinalize 444
DropClonedTriggersFromPartition 444
DropErrorMsgNonExistent 1060
DropErrorMsgWrongType 0
ExecuteTruncate 1624
ExecuteTruncateGuts 1612
GetAttributeCompression 232994
GetAttributeStorage 242
GetForeignKeyActionTriggers 126
GetForeignKeyCheckTriggers 760
GetParentedForeignKeyRefs 958
MarkInheritDetached 146
MergeAttributes 58268
MergeAttributesIntoExisting 2384
MergeCheckConstraint 580
MergeChildAttribute 304
MergeConstraintsIntoExisting 2300
MergeInheritedAttribute 314
NotNullImpliedByRelConstraints 1148
PartConstraintImpliedByRelConstraint 3074
PreCommit_on_commit_actions 740898
QueueCheckConstraintValidation 120
QueueFKConstraintValidation 334
QueuePartitionConstraintValidation 2444
RangeVarCallbackForAlterRelation 30798
RangeVarCallbackForAttachIndex 398
RangeVarCallbackForDropRelation 20668
RangeVarCallbackForRenameAttribute 408
RangeVarCallbackForTruncate 2018
RangeVarCallbackMaintainsTable 998
RangeVarCallbackOwnsRelation 15084
RebuildConstraintComment 568
RememberAllDependentForRebuilding 1048
RememberClusterOnForRebuilding 444
RememberConstraintForRebuilding 686
RememberIndexForRebuilding 236
RememberReplicaIdentityForRebuilding 444
RememberStatisticsForRebuilding 14
RemoveInheritance 578
RemoveRelations 16522
RenameConstraint 84
RenameRelation 510
RenameRelationInternal 1638
ResetRelRewrite 578
SetIndexStorageProperties 284
SetRelationHasSubclass 14642
SetRelationTableSpace 204
StoreCatalogInheritance 57554
StoreCatalogInheritance1 11712
TryReuseForeignKey 6
TryReuseIndex 104
addFkConstraint 3868
addFkRecurseReferenced 3158
addFkRecurseReferencing 2866
add_column_collation_dependency 3380
add_column_datatype_dependency 3380
alter_table_type_to_string 78
change_owner_fix_column_acls 486
change_owner_recurse_to_sequences 486
checkFkeyPermissions 2372
check_for_column_name_collision 3034
check_of_type 176
constraints_equivalent 92
createForeignKeyActionTriggers 3158
createForeignKeyCheckTriggers 2866
decompile_conbin 184
drop_parent_dependency 566
dropconstraint_internal 1198
findAttrByName 20662
findFkeyCast 12
find_composite_type_dependencies 3984
find_typed_table_dependencies 214
index_copy_data 62
refuseDupeIndexAttach 356
register_on_commit_action 166
relation_mark_replica_identity 454
remove_on_commit_action 46596
rename_constraint_internal 90
renameatt 316
renameatt_check 1008
renameatt_internal 552
set_attnotnull 22940
storage_name 24
transformColumnNameList 6400
transformFkeyCheckAttrs 1272
transformFkeyGetPrimaryKey 1172
transformPartitionSpec 4802
truncate_check_activity 3796
truncate_check_perms 2106
truncate_check_rel 3932
tryAttachPartitionForeignKey 360
validateFkOnDeleteSetColumns 2504
validateForeignKeyConstraint 1150
validatePartitionedIndex 338
verifyPartitionIndexNotNull 92

Generated by: LCOV version 1.14