From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: clime7@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #9749: ERROR: unexpected classid 3600
Date: Wed, 16 Apr 2014 12:29:01 -0300
Message-ID: <20140416152901.GO5822@eldon.alvh.no-ip.org> (raw)
In-Reply-To: <20140328153919.GQ9567@eldon.alvh.no-ip.org>
References: <20140327230730.13982.80041@wrigleys.postgresql.org>
<20140328153919.GQ9567@eldon.alvh.no-ip.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Alvaro Herrera wrote:
> clime7@gmail.com wrote:
>
> > I am getting this error when trying to execute "reassign owned" command.
> >
> > cb_test=# reassign owned by clime to cb_test;
> > ERROR: unexpected classid 3600
> > cb_test=# select '3600'::regclass;
> > regclass
> > ------------
> > pg_ts_dict
>
> Hmm, The code is clearly missing handling that case, as well as all text
> search objects types. Will fix, thanks for the report!
Oops, I just noticed that the fix is very simple in HEAD and 9.3 because
we can just add the appropriate case labels to the already existing
generic object alter-owner case. But in 9.2, we not only need to add
extra cases to cover each object, but we also need to refactor
the appropriate AlterOwner routine to work on OID input rather than name
only. In other words we need the equivalent of
0c7b9dc7d037c4465227dc2300ff48019feeba37 for each of the text search
object types :-(
Not sure I have the time to do all that right now. Contributions
welcome.
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
--
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: alvherre@2ndquadrant.com, clime7@gmail.com
Subject: Re: BUG #9749: ERROR: unexpected classid 3600
In-Reply-To: <20140416152901.GO5822@eldon.alvh.no-ip.org>
References: <20140327230730.13982.80041@wrigleys.postgresql.org> <20140328153919.GQ9567@eldon.alvh.no-ip.org> <20140416152901.GO5822@eldon.alvh.no-ip.org>
* 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