Re: wrong message on REASSIGN OWNED

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Jaime Casanova <jaime(at)2ndquadrant(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: wrong message on REASSIGN OWNED
Date: 2011-06-12 01:01:55
Message-ID: BANLkTinYurtJ3woEyr4CBhVZ94JmtXLJow@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Jun 9, 2011 at 1:26 PM, Jaime Casanova <jaime(at)2ndquadrant(dot)com> wrote:
> 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

"can't reassign objects owned by %s because this user is internal to
the database system" ?

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua D. Drake 2011-06-12 01:15:09 Re: procpid?
Previous Message Robert Haas 2011-06-12 00:55:28 Re: On-the-fly index tuple deletion vs. hot_standby