LCOV - code coverage report
Current view: top level - src/backend/commands - tablecmds.c (source / functions) Hit Total Coverage
Test: PostgreSQL Lines: 3915 4339 90.2 %
Date: 2017-09-29 13:40:31 Functions: 136 138 98.6 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
ATAddCheckConstraint 129
ATAddForeignKeyConstraint 138
ATColumnChangeRequiresRewrite 62
ATController 1014
ATExecAddColumn 202
ATExecAddConstraint 217
ATExecAddIdentity 6
ATExecAddIndex 53
ATExecAddIndexConstraint 2
ATExecAddInherit 22
ATExecAddOf 9
ATExecAlterColumnGenericOptions 7
ATExecAlterColumnType 69
ATExecAlterConstraint 5
ATExecAttachPartition 55
ATExecChangeOwner 37
ATExecClusterOn 3
ATExecCmd 1113
ATExecColumnDefault 36
ATExecDetachPartition 11
ATExecDisableRowSecurity 2
ATExecDropCluster 2
ATExecDropColumn 140
ATExecDropConstraint 51
ATExecDropIdentity 4
ATExecDropInherit 5
ATExecDropNotNull 18
ATExecDropOf 1
ATExecEnableDisableRule 0
ATExecEnableDisableTrigger 6
ATExecEnableRowSecurity 37
ATExecForceNoForceRowSecurity 14
ATExecGenericOptions 1
ATExecReplicaIdentity 15
ATExecSetIdentity 4
ATExecSetNotNull 53
ATExecSetOptions 3
ATExecSetRelOptions 44
ATExecSetStatistics 15
ATExecSetStorage 17
ATExecSetTableSpace 9
ATExecValidateConstraint 22
ATGetQueueEntry 1277
ATPostAlterTypeCleanup 67
ATPostAlterTypeParse 32
ATPrepAddColumn 160
ATPrepAddInherit 25
ATPrepAddOids 9
ATPrepAlterColumnType 90
ATPrepChangePersistence 9
ATPrepCmd 1113
ATPrepDropColumn 114
ATPrepDropNotNull 19
ATPrepSetNotNull 54
ATPrepSetStatistics 15
ATPrepSetTableSpace 9
ATRewriteCatalogs 981
ATRewriteTable 222
ATRewriteTables 775
ATSimplePermissions 1286
ATSimpleRecursion 139
ATTypedTableRecursion 22
ATWrongRelkindError 4
AlterIndexNamespaces 8
AlterRelationNamespaceInternal 22
AlterSeqNamespaces 8
AlterTable 973
AlterTableGetLockLevel 1056
AlterTableInternal 43
AlterTableLookupRelation 1013
AlterTableMoveAll 3
AlterTableNamespace 13
AlterTableNamespaceInternal 11
AtEOSubXact_on_commit_actions 372
AtEOXact_on_commit_actions 26167
CheckTableNotInUse 5101
ComputePartitionAttrs 86
CreateFKCheckTrigger 186
CreateInheritance 57
DefineRelation 2155
DropErrorMsgNonExistent 50
DropErrorMsgWrongType 0
ExecuteTruncate 69
MergeAttributes 2148
MergeAttributesIntoExisting 56
MergeCheckConstraint 31
MergeConstraintsIntoExisting 50
PartConstraintImpliedByRelConstraint 33
PreCommit_on_commit_actions 22891
RangeVarCallbackForAlterRelation 1071
RangeVarCallbackForDropRelation 933
RangeVarCallbackForRenameAttribute 54
RangeVarCallbackOwnsRelation 642
RangeVarCallbackOwnsTable 34
RebuildConstraintComment 20
RemoveInheritance 15
RemoveRelations 819
RenameConstraint 11
RenameRelation 27
RenameRelationInternal 109
SetRelationHasSubclass 339
StoreCatalogInheritance 2125
StoreCatalogInheritance1 339
TryReuseForeignKey 1
TryReuseIndex 7
ValidatePartitionConstraints 33
add_column_collation_dependency 246
add_column_datatype_dependency 246
change_owner_fix_column_acls 35
change_owner_recurse_to_sequences 15
checkFkeyPermissions 128
check_for_column_name_collision 260
check_of_type 24
constraints_equivalent 7
copy_relation_data 9
createForeignKeyTriggers 93
decompile_conbin 14
drop_parent_dependency 14
findAttrByName 671
findFkeyCast 2
find_composite_type_dependencies 242
find_typed_table_dependencies 26
is_partition_attr 208
register_on_commit_action 8
relation_mark_replica_identity 8
remove_on_commit_action 2141
rename_constraint_internal 12
renameatt 44
renameatt_check 142
renameatt_internal 83
storage_name 4
transformColumnNameList 199
transformFkeyCheckAttrs 57
transformFkeyGetPrimaryKey 73
transformPartitionSpec 93
truncate_check_rel 127
validateCheckConstraint 15
validateForeignKeyConstraint 26

Generated by: LCOV version 1.11