LCOV - code coverage report
Current view: top level - src/backend/commands - tablecmds.c (source / functions) Hit Total Coverage
Test: PostgreSQL 18devel Lines: 5916 6463 91.5 %
Date: 2024-12-12 19:15:15 Functions: 193 194 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
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
constraints_equivalent 80
ATExecSetExpression 84
RenameConstraint 84
ATExecDropInherit 86
AlterIndexNamespaces 86
AlterSeqNamespaces 86
AlterTableNamespaceInternal 86
rename_constraint_internal 90
verifyPartitionIndexNotNull 92
ATPrepChangePersistence 100
AlterTableNamespace 104
TryReuseIndex 104
ATPrepSetAccessMethod 110
ATExecForceNoForceRowSecurity 120
ATExecAlterConstraint 126
GetForeignKeyActionTriggers 126
DetachAddConstraintIfNeeded 140
MarkInheritDetached 146
ATPrepSetTableSpace 158
ATExecAddIdentity 160
decompile_conbin 160
ATExecSetTableSpace 162
ATExecAlterColumnGenericOptions 164
ATExecSetStatistics 164
register_on_commit_action 166
check_of_type 176
ATExecAlterConstrRecurse 180
AlterRelationNamespaceInternal 188
ATTypedTableRecursion 190
SetRelationTableSpace 204
find_typed_table_dependencies 214
CheckRelationTableSpaceMove 226
ATExecSetStorage 234
RememberIndexForRebuilding 236
GetAttributeStorage 242
ATExecDropNotNull 256
MergeCheckConstraint 274
AlterTableInternal 278
SetIndexStorageProperties 284
MergeChildAttribute 286
ATExecSetRowSecurity 294
MergeInheritedAttribute 302
tryAttachPartitionForeignKey 312
ATExecAddInherit 316
renameatt 316
ATPrepAddInherit 334
validatePartitionedIndex 338
ATExecEnableDisableTrigger 340
refuseDupeIndexAttach 356
ATExecAttachPartitionIdx 392
RangeVarCallbackForAttachIndex 400
RangeVarCallbackForRenameAttribute 410
DetachPartitionFinalize 432
DropClonedTriggersFromPartition 432
ATExecValidateConstraint 436
RememberClusterOnForRebuilding 444
RememberReplicaIdentityForRebuilding 444
relation_mark_replica_identity 454
change_owner_fix_column_acls 486
change_owner_recurse_to_sequences 486
ATDetachCheckNoForeignKeyRefs 502
ATExecReplicaIdentity 502
RenameRelation 510
ATExecDetachPartition 546
renameatt_internal 552
drop_parent_dependency 554
ATExecColumnDefault 562
RemoveInheritance 566
RebuildConstraintComment 568
ResetRelRewrite 578
ATExecSetNotNull 580
GetForeignKeyCheckTriggers 640
RememberConstraintForRebuilding 686
ATPostAlterTypeParse 798
ATExecDropConstraint 816
ATCheckPartitionsNotInUse 822
GetParentedForeignKeyRefs 934
ATColumnChangeRequiresRewrite 936
ATExecSetRelOptions 946
ATExecAlterColumnType 970
ATPostAlterTypeCleanup 988
RangeVarCallbackMaintainsTable 1006
renameatt_check 1008
RememberAllDependentForRebuilding 1042
DropErrorMsgNonExistent 1060
validateForeignKeyConstraint 1108
transformFkeyGetPrimaryKey 1112
ATSimpleRecursion 1124
NotNullImpliedByRelConstraints 1148
ATPrepAlterColumnType 1168
dropconstraint_internal 1198
transformFkeyCheckAttrs 1272
ATExecAddIndex 1588
ATPrepDropColumn 1598
ExecuteTruncateGuts 1600
ExecuteTruncate 1612
RenameRelationInternal 1638
AttachPartitionEnsureIndexes 1970
ATPrepAddColumn 2002
RangeVarCallbackForTruncate 2012
ATExecChangeOwner 2020
truncate_check_perms 2100
ATExecDropColumn 2142
ATExecAttachPartition 2192
ChooseForeignKeyConstraintNameAddition 2222
MergeConstraintsIntoExisting 2238
checkFkeyPermissions 2312
MergeAttributesIntoExisting 2322
CreateInheritance 2328
CloneRowTriggersToPartition 2348
QueuePartitionConstraintValidation 2390
validateFkOnDeleteSetColumns 2444
ATAddForeignKeyConstraint 2518
ATExecAddColumn 2620
addFkRecurseReferencing 2788
createForeignKeyCheckTriggers 2788
addFkRecurseReferenced 2948
createForeignKeyActionTriggers 2948
check_for_column_name_collision 3010
PartConstraintImpliedByRelConstraint 3020
add_column_collation_dependency 3356
add_column_datatype_dependency 3356
addFkConstraint 3658
truncate_check_activity 3784
truncate_check_rel 3926
find_composite_type_dependencies 3960
ConstraintImpliedByRelConstraint 4168
ComputePartitionAttrs 4724
transformPartitionSpec 4754
ATRewriteTable 5184
CreateFKCheckTrigger 5576
transformColumnNameList 6280
CloneFkReferenced 9250
CloneFkReferencing 9250
CloneForeignKeyConstraints 9250
ATExecAddIndexConstraint 9540
ATAddCheckNNConstraint 10108
StoreCatalogInheritance1 11578
ATExecAddConstraint 11872
SetRelationHasSubclass 14490
ATPrepAddPrimaryKey 14830
RangeVarCallbackOwnsRelation 15148
RemoveRelations 16438
AtEOSubXact_on_commit_actions 20004
findAttrByName 20530
RangeVarCallbackForDropRelation 20592
ATParseTransformCmd 21244
set_attnotnull 22860
ATRewriteTables 26312
ATRewriteCatalogs 28840
AlterTable 28918
AlterTableLookupRelation 29142
ATController 29178
AlterTableGetLockLevel 29420
RangeVarCallbackForAlterRelation 30594
ATPrepCmd 31580
ATSimplePermissions 34510
ATGetQueueEntry 38012
remove_on_commit_action 45272
ATExecCmd 54282
CheckAlterTableIsSafe 55472
StoreCatalogInheritance 56240
MergeAttributes 56954
DefineRelation 57158
BuildDescForRelation 59480
CheckTableNotInUse 158194
GetAttributeCompression 231180
PreCommit_on_commit_actions 691432
AtEOXact_on_commit_actions 737964

Generated by: LCOV version 1.14