projects
/
users
/
c2main
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ab5835
)
Fix aboriginal copy-paste mistake in error message
author
Alvaro Herrera
<
[email protected]
>
Mon, 13 Jun 2011 21:50:30 +0000
(17:50 -0400)
committer
Alvaro Herrera
<
[email protected]
>
Mon, 13 Jun 2011 21:53:28 +0000
(17:53 -0400)
Spotted by Jaime Casanova
src/backend/catalog/pg_shdepend.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/catalog/pg_shdepend.c
b/src/backend/catalog/pg_shdepend.c
index e40ce1c4469b2dc2fdd4fbd14c872017fa7f1317..2420a9855fd58410366a083df865618361254d57 100644
(file)
--- a/
src/backend/catalog/pg_shdepend.c
+++ b/
src/backend/catalog/pg_shdepend.c
@@
-1274,8
+1274,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))));
/*