Skip to content

Commit 8f1eaf8

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

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/backend/catalog/pg_shdepend.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1209,8 +1209,7 @@ shdepReassignOwned(List *roleids, Oid newrole)
12091209

12101210
ereport(ERROR,
12111211
(errcode(ERRCODE_DEPENDENT_OBJECTS_STILL_EXIST),
1212-
errmsg("cannot drop objects owned by %s because they are "
1213-
"required by the database system",
1212+
errmsg("cannot reassign ownership of objects owned by %s because they are required by the database system",
12141213
getObjectDescription(&obj))));
12151214

12161215
/*

0 commit comments

Comments
 (0)