mirror of
https://github.com/postgres/postgres.git
synced 2025-07-07 00:36:50 +03:00
Message style improvements
This commit is contained in:
@ -421,7 +421,7 @@ AlterObjectNamespace(Relation rel, int oidCacheId, int nameCacheId,
|
||||
if (Anum_owner <= 0)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_INSUFFICIENT_PRIVILEGE),
|
||||
(errmsg("must be superuser to SET SCHEMA of %s",
|
||||
(errmsg("must be superuser to set schema of %s",
|
||||
getObjectDescriptionOids(classId, objid)))));
|
||||
|
||||
/* Otherwise, must be owner of the existing object */
|
||||
|
Reference in New Issue
Block a user