Re: wrong message on REASSIGN OWNED - Mailing list pgsql-hackers

From Robert Haas
Subject Re: wrong message on REASSIGN OWNED
Date
Msg-id BANLkTinYurtJ3woEyr4CBhVZ94JmtXLJow@mail.gmail.com
Whole thread Raw
In response to wrong message on REASSIGN OWNED  (Jaime Casanova <jaime@2ndquadrant.com>)
Responses Re: wrong message on REASSIGN OWNED
Re: wrong message on REASSIGN OWNED
List pgsql-hackers
On Thu, Jun 9, 2011 at 1:26 PM, Jaime Casanova <jaime@2ndquadrant.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


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: On-the-fly index tuple deletion vs. hot_standby
Next
From: "Joshua D. Drake"
Date:
Subject: Re: procpid?