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 2602e63750
commit a03f1d399d

View File

@ -1282,8 +1282,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))));
/*