LCOV - code coverage report
Current view: top level - src/backend/catalog - aclchk.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 83.0 % 1894 1572
Test Date: 2026-09-05 07:15:54 Functions: 94.9 % 59 56
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 65.6 % 1131 742

Function Name Sort by function name Hit count Sort by function hit count
aclcheck_error_col 0
pg_attribute_aclmask 0
pg_parameter_acl_aclmask 0
ReplaceRoleInInitPriv 12
RemoveRoleFromInitPriv 14
privilege_to_string 20
objectsInSchemaToOids 21
ExecGrant_Language_check 27
object_aclmask 36
getRelationsInNamespace 41
pg_aclmask 48
ExecGrant_Parameter 49
recordExtObjInitPriv 55
ExecGrant_Largeobject 58
pg_parameter_aclcheck 80
pg_parameter_aclmask 80
ExecGrant_Type_check 104
ExecAlterDefaultPrivilegesStmt 135
SetDefaultACLsInSchemas 135
aclcheck_error_type 136
RemoveRoleFromObjectACL 160
pg_attribute_aclcheck_all 162
pg_attribute_aclcheck_all_ext 162
SetDefaultACL 163
removeExtObjInitPriv 182
expand_col_privileges 318
pg_largeobject_aclcheck_snapshot 590
pg_largeobject_aclmask_snapshot 590
ExecGrant_common 1421
has_createrole_privilege 1737
recordExtensionInitPrivWorker 1788
aclcheck_error 1970
pg_attribute_aclcheck 2961
expand_all_col_privileges 3441
has_bypassrls_privilege 3793
pg_attribute_aclcheck_ext 5924
pg_attribute_aclmask_ext 5924
ExecGrant_Relation 11087
string_to_privilege 11350
objectNamesToOids 12503
ExecuteGrantStmt 12524
ExecGrantStmt_oids 12615
recordExtensionInitPriv 14254
ExecGrant_Attribute 27799
restrict_and_check_grant 40255
merge_acl_with_grant 40400
get_user_default_acl 54386
recordDependencyOnNewAcl 56960
get_default_acl_internal 108772
pg_type_aclmask_ext 220058
object_ownercheck 279686
pg_class_aclmask 405621
pg_namespace_aclmask_ext 637987
pg_class_aclcheck 1637849
pg_class_aclcheck_ext 1668902
pg_class_aclmask_ext 2074523
object_aclcheck 2098416
object_aclcheck_ext 2098698
object_aclmask_ext 2098734

Generated by: LCOV version 2.0-1