Fix incorrect error message when schema-CREATE permission is absent.
Report by me. Fix by KaiGai Kohei.
This commit is contained in:
parent
cf03ff6c4e
commit
a0dc23f205
@ -632,7 +632,7 @@ AlterObjectOwner_internal(Relation rel, Oid objectId, Oid new_ownerId)
|
||||
aclresult = pg_namespace_aclcheck(namespaceId, new_ownerId,
|
||||
ACL_CREATE);
|
||||
if (aclresult != ACLCHECK_OK)
|
||||
aclcheck_error(aclresult, aclkind,
|
||||
aclcheck_error(aclresult, ACL_KIND_NAMESPACE,
|
||||
get_namespace_name(namespaceId));
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user