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

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

Generated by: LCOV version 1.14