LCOV - code coverage report
Current view: top level - src/backend/commands - tablecmds.c (source / functions) Hit Total Coverage
Test: PostgreSQL 18devel Lines: 5925 6471 91.6 %
Date: 2024-12-26 18:15:32 Functions: 193 194 99.5 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
ATAddCheckNNConstraint 10108
ATAddForeignKeyConstraint 2518
ATCheckPartitionsNotInUse 822
ATColumnChangeRequiresRewrite 936
ATController 29178
ATDetachCheckNoForeignKeyRefs 502
ATExecAddColumn 2620
ATExecAddConstraint 11872
ATExecAddIdentity 160
ATExecAddIndex 1588
ATExecAddIndexConstraint 9540
ATExecAddInherit 316
ATExecAddOf 66
ATExecAddStatistics 14
ATExecAlterColumnGenericOptions 164
ATExecAlterColumnType 970
ATExecAlterConstrRecurse 180
ATExecAlterConstraint 126
ATExecAttachPartition 2192
ATExecAttachPartitionIdx 392
ATExecChangeOwner 2020
ATExecClusterOn 64
ATExecCmd 54282
ATExecColumnDefault 562
ATExecCookedColumnDefault 56
ATExecDetachPartition 546
ATExecDetachPartitionFinalize 14
ATExecDropCluster 18
ATExecDropColumn 2142
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 436
ATGetQueueEntry 38012
ATParseTransformCmd 21244
ATPostAlterTypeCleanup 988
ATPostAlterTypeParse 798
ATPrepAddColumn 2002
ATPrepAddInherit 334
ATPrepAddPrimaryKey 14830
ATPrepAlterColumnType 1168
ATPrepChangePersistence 100
ATPrepCmd 31580
ATPrepDropColumn 1598
ATPrepDropExpression 44
ATPrepSetAccessMethod 110
ATPrepSetTableSpace 158
ATRewriteCatalogs 28840
ATRewriteTable 5184
ATRewriteTables 26312
ATSimplePermissions 34510
ATSimpleRecursion 1124
ATTypedTableRecursion 190
AlterIndexNamespaces 86
AlterRelationNamespaceInternal 188
AlterSeqNamespaces 86
AlterTable 28918
AlterTableGetLockLevel 29420
AlterTableInternal 278
AlterTableLookupRelation 29142
AlterTableMoveAll 30
AlterTableNamespace 104
AlterTableNamespaceInternal 86
AtEOSubXact_on_commit_actions 19968
AtEOXact_on_commit_actions 742382
AttachPartitionEnsureIndexes 1970
BuildDescForRelation 59496
CheckAlterTableIsSafe 55478
CheckRelationTableSpaceMove 226
CheckTableNotInUse 158240
ChooseForeignKeyConstraintNameAddition 2222
CloneFkReferenced 9250
CloneFkReferencing 9250
CloneForeignKeyConstraints 9250
CloneRowTriggersToPartition 2348
ComputePartitionAttrs 4724
ConstraintImpliedByRelConstraint 4168
CreateFKCheckTrigger 5576
CreateInheritance 2328
DefineRelation 57174
DetachAddConstraintIfNeeded 140
DetachPartitionFinalize 432
DropClonedTriggersFromPartition 432
DropErrorMsgNonExistent 1060
DropErrorMsgWrongType 0
ExecuteTruncate 1612
ExecuteTruncateGuts 1600
GetAttributeCompression 231198
GetAttributeStorage 242
GetForeignKeyActionTriggers 126
GetForeignKeyCheckTriggers 640
GetParentedForeignKeyRefs 934
MarkInheritDetached 146
MergeAttributes 56970
MergeAttributesIntoExisting 2322
MergeCheckConstraint 274
MergeChildAttribute 286
MergeConstraintsIntoExisting 2238
MergeInheritedAttribute 302
NotNullImpliedByRelConstraints 1148
PartConstraintImpliedByRelConstraint 3020
PreCommit_on_commit_actions 695902
QueuePartitionConstraintValidation 2390
RangeVarCallbackForAlterRelation 30478
RangeVarCallbackForAttachIndex 402
RangeVarCallbackForDropRelation 20542
RangeVarCallbackForRenameAttribute 410
RangeVarCallbackForTruncate 2028
RangeVarCallbackMaintainsTable 1034
RangeVarCallbackOwnsRelation 15128
RebuildConstraintComment 568
RememberAllDependentForRebuilding 1042
RememberClusterOnForRebuilding 444
RememberConstraintForRebuilding 686
RememberIndexForRebuilding 236
RememberReplicaIdentityForRebuilding 444
RememberStatisticsForRebuilding 14
RemoveInheritance 566
RemoveRelations 16438
RenameConstraint 84
RenameRelation 510
RenameRelationInternal 1638
ResetRelRewrite 578
SetIndexStorageProperties 284
SetRelationHasSubclass 14490
SetRelationTableSpace 204
StoreCatalogInheritance 56256
StoreCatalogInheritance1 11578
TryReuseForeignKey 6
TryReuseIndex 104
addFkConstraint 3658
addFkRecurseReferenced 2948
addFkRecurseReferencing 2788
add_column_collation_dependency 3356
add_column_datatype_dependency 3356
alter_table_type_to_string 78
change_owner_fix_column_acls 486
change_owner_recurse_to_sequences 486
checkFkeyPermissions 2312
check_for_column_name_collision 3010
check_of_type 176
constraints_equivalent 80
createForeignKeyActionTriggers 2948
createForeignKeyCheckTriggers 2788
decompile_conbin 160
drop_parent_dependency 554
dropconstraint_internal 1198
findAttrByName 20530
findFkeyCast 12
find_composite_type_dependencies 3960
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 45296
rename_constraint_internal 90
renameatt 316
renameatt_check 1010
renameatt_internal 552
set_attnotnull 22866
storage_name 24
transformColumnNameList 6280
transformFkeyCheckAttrs 1272
transformFkeyGetPrimaryKey 1112
transformPartitionSpec 4754
truncate_check_activity 3784
truncate_check_perms 2116
truncate_check_rel 3942
tryAttachPartitionForeignKey 312
validateFkOnDeleteSetColumns 2444
validateForeignKeyConstraint 1108
validatePartitionedIndex 338
verifyPartitionIndexNotNull 92

Generated by: LCOV version 1.14