wrong message on REASSIGN OWNED - Mailing list pgsql-hackers

From Jaime Casanova
Subject wrong message on REASSIGN OWNED
Date
Msg-id BANLkTi=mkiH6TbBE1eXnWVY-qjKhwyPbpg@mail.gmail.com
Whole thread Raw
Responses Re: wrong message on REASSIGN OWNED
List 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


pgsql-hackers by date:

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