Re: BUG #7748: "drop owned by" fails with error message: "unrecognized object class: 1262"

From: Jaime Casanova <jaime(at)2ndquadrant(dot)com>
To: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
Cc: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, spam_eater(at)gmx(dot)net, pgsql-bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #7748: "drop owned by" fails with error message: "unrecognized object class: 1262"
Date: 2012-12-11 20:51:11
Message-ID: CAJKUy5gySOC_nJHpGLEQhoQMfLmkdQ-73P4kf8BaFo=pSdUAWg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Tue, Dec 11, 2012 at 2:04 PM, Jeff Janes <jeff(dot)janes(at)gmail(dot)com> wrote:
>
> I am unsure of the goal here. The docs clearly say that only objects
> in the current database are affected, so why are we even trying to do
> something with tablespaces (or databases), which do not live in any
> database? And if we want to change the contract to allow it to climb
> out of the current database, why limit it to shared objects rather
> than crawling all databases?
>

ok. you're right, what i suggested before of making something similar
on DROP ASSIGNED is actually a violation of the POLA.
about your question, i guess the compromise Álvaro was taken here is
to affect all objects that could be *seen* from this database you
can't climb to other objects in other databases because they can't be
seen.

--
Jaime Casanova www.2ndQuadrant.com
Professional PostgreSQL: Soporte 24x7 y capacitación
Phone: +593 4 5107566 Cell: +593 987171157

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message ktuszynska 2012-12-11 23:08:53 BUG #7751: libintl.h missing in the include folder
Previous Message Jeff Janes 2012-12-11 19:04:08 Re: BUG #7748: "drop owned by" fails with error message: "unrecognized object class: 1262"