Skip to content

Commit a03f1d3

Browse files
committed
Fix aboriginal copy-paste mistake in error message
Spotted by Jaime Casanova
1 parent 2602e63 commit a03f1d3

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
@@ -1282,8 +1282,7 @@ shdepReassignOwned(List *roleids, Oid newrole)
12821282

12831283
ereport(ERROR,
12841284
(errcode(ERRCODE_DEPENDENT_OBJECTS_STILL_EXIST),
1285-
errmsg("cannot drop objects owned by %s because they are "
1286-
"required by the database system",
1285+
errmsg("cannot reassign ownership of objects owned by %s because they are required by the database system",
12871286
getObjectDescription(&obj))));
12881287

12891288
/*

0 commit comments

Comments
 (0)