wrong message on REASSIGN OWNED

From: Jaime Casanova <jaime(at)2ndquadrant(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: wrong message on REASSIGN OWNED
Date: 2011-06-09 17:26:53
Message-ID: BANLkTi=mkiH6TbBE1eXnWVY-qjKhwyPbpg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

on shdepReassignOwned() we have this message, which is obviously wrong
we are not dropping objects just reassigning them...
"""
ereport(ERROR,

(errcode(ERRCODE_DEPENDENT_OBJECTS_STILL_EXIST),
errmsg("cannot drop objects owned
by %s because they are "
"required by the
database system",
getObjectDescription(&obj))));
"""

but haven't thought of a good way of rephrase it

--
Jaime Casanova         www.2ndQuadrant.com
Professional PostgreSQL: Soporte 24x7 y capacitación

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dan Ports 2011-06-09 17:30:27 Re: SSI work for 9.1
Previous Message Tom Lane 2011-06-09 17:22:42 Re: Invalid byte sequence for encoding "UTF8", caused due to non wide-char-aware downcase_truncate_identifier() function on WINDOWS