From 26b10ca6b85cd130ebd5aa86fe24626e00d6ce87 Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Mon, 13 Jun 2011 17:50:30 -0400 Subject: [PATCH] Fix aboriginal copy-paste mistake in error message Spotted by Jaime Casanova --- src/backend/catalog/pg_shdepend.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/backend/catalog/pg_shdepend.c b/src/backend/catalog/pg_shdepend.c index 8c8e7b276d..591352d4b4 100644 --- a/src/backend/catalog/pg_shdepend.c +++ b/src/backend/catalog/pg_shdepend.c @@ -1284,8 +1284,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)))); /* -- 2.40.0