Content-Length: 257152 | pFad | http://github.com/postgrespro/postgres/commit/a0dc23f2058b3b2a3ab8c131914aba40f96db19f

46 Fix incorrect error message when schema-CREATE permission is absent. · postgrespro/postgres@a0dc23f · GitHub
Skip to content

Commit a0dc23f

Browse files
committed
Fix incorrect error message when schema-CREATE permission is absent.
Report by me. Fix by KaiGai Kohei.
1 parent cf03ff6 commit a0dc23f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/commands/alter.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ AlterObjectOwner_internal(Relation rel, Oid objectId, Oid new_ownerId)
632632
aclresult = pg_namespace_aclcheck(namespaceId, new_ownerId,
633633
ACL_CREATE);
634634
if (aclresult != ACLCHECK_OK)
635-
aclcheck_error(aclresult, aclkind,
635+
aclcheck_error(aclresult, ACL_KIND_NAMESPACE,
636636
get_namespace_name(namespaceId));
637637
}
638638
}

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/a0dc23f2058b3b2a3ab8c131914aba40f96db19f

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy