From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Jeff Janes <jeff.janes@gmail.com>
Cc: spam_eater@gmx.net <spam_eater@gmx.net>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Cc: Jaime Casanova <jaime@2ndquadrant.com>
Subject: Re: Re: BUG #7748: "drop owned by" fails with error message: "unrecognized object class: 1262"
Date: Fri, 25 Jan 2013 20:09:05 -0500
Message-ID: <29842.1359162545@sss.pgh.pa.us> (raw)
In-Reply-To: <20130125195716.GI5584@alvh.no-ip.org>
References: <E1ThhcE-0001nJ-1v@wrigleys.postgresql.org>
<11629.1355071394@sss.pgh.pa.us>
<20121210041307.GA13156@alvh.no-ip.org>
<CAMkU=1xbchvew5g2qqRjFy_hEkYFFgGXQE3cjEcV3eWCCsO3eQ@mail.gmail.com>
<20130125195716.GI5584@alvh.no-ip.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> I disagree with this assessment, and propose the attached patch instead.
+1 for this approach in HEAD ...
> This is the patch for the master branch; I have not tried to backpatch
> it yet. Conflicts are expected due to the refactoring of ALTER commands
> by KaiGai.
... but I'm worried that you'd need a substantially larger patch in back
branches, and accordingly I'm not sure this is what to do in the back
branches. Without that refactoring, you might need to duplicate more
code, so it might be safer to just revert as Jeff suggested.
The documentation also needs more work than what you suggest in your
followup. The command reference pages should explicitly say that they
operate on both objects in the current database and shared objects.
Explicitly defining shared objects as databases and tablespaces
wouldn't hurt any.
It also strikes me that where you suggest "Because REASSIGN OWNED does
not affect objects in other databases ...", it might be clearer to say
"Because REASSIGN OWNED does not affect objects within other databases
...", which makes the idea of containment a little stronger.
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, alvherre@2ndquadrant.com, jeff.janes@gmail.com, spam_eater@gmx.net, jaime@2ndquadrant.com
Subject: Re: BUG #7748: "drop owned by" fails with error message: "unrecognized object class: 1262"
In-Reply-To: <29842.1359162545@sss.pgh.pa.us>
References: <E1ThhcE-0001nJ-1v@wrigleys.postgresql.org> <11629.1355071394@sss.pgh.pa.us> <20121210041307.GA13156@alvh.no-ip.org> <CAMkU=1xbchvew5g2qqRjFy_hEkYFFgGXQE3cjEcV3eWCCsO3eQ@mail.gmail.com> <20130125195716.GI5584@alvh.no-ip.org> <29842.1359162545@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox