Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 8f59e02

Browse files
committed
Fix aboriginal copy-paste mistake in error message
Spotted by Jaime Casanova
1 parent a03feb9 commit 8f59e02

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/backend/catalog/pg_shdepend.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -1284,8 +1284,7 @@ shdepReassignOwned(List *roleids, Oid newrole)
12841284

12851285
ereport(ERROR,
12861286
(errcode(ERRCODE_DEPENDENT_OBJECTS_STILL_EXIST),
1287-
errmsg("cannot drop objects owned by %s because they are "
1288-
"required by the database system",
1287+
errmsg("cannot reassign ownership of objects owned by %s because they are required by the database system",
12891288
getObjectDescription(&obj))));
12901289

12911290
/*

0 commit comments

Comments
 (0)