Fix aboriginal copy-paste mistake in error message

Spotted by Jaime Casanova
This commit is contained in:
Alvaro Herrera 2011-06-13 17:50:30 -04:00
parent 763f868710
commit eca8674fca

View File

@ -1292,8 +1292,7 @@ shdepReassignOwned(List *roleids, Oid newrole)
ereport(ERROR,
(errcode(ERRCODE_DEPENDENT_OBJECTS_STILL_EXIST),
errmsg("cannot drop objects owned by %s because they are "
"required by the database system",
errmsg("cannot reassign ownership of objects owned by %s because they are required by the database system",
getObjectDescription(&obj))));
/*