Fix aboriginal copy-paste mistake in error message
authorAlvaro Herrera <[email protected]>
Mon, 13 Jun 2011 21:50:30 +0000 (17:50 -0400)
committerAlvaro Herrera <[email protected]>
Mon, 13 Jun 2011 21:54:12 +0000 (17:54 -0400)
Spotted by Jaime Casanova

src/backend/catalog/pg_shdepend.c

index d66b69157e6180abb99c29e239be339d92c13847..8aa9a6f6fa60f0b521cafbd45b0e1ab04ba2caf7 100644 (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))));
 
            /*