]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Fix aboriginal copy-paste mistake in error message
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 13 Jun 2011 21:50:30 +0000 (17:50 -0400)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 13 Jun 2011 21:50:30 +0000 (17:50 -0400)
Spotted by Jaime Casanova

src/backend/catalog/pg_shdepend.c

index 5195cb06be99e13449caa270cc16794163e4b06d..33cbe6ba54c9a92fae20229af2f7f648ce416143 100644 (file)
@@ -1209,8 +1209,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))));
 
                        /*