Re: Incorrect processing of CREATE TRANSFORM with DDL deparding - Mailing list pgsql-bugs

From Alvaro Herrera
Subject Re: Incorrect processing of CREATE TRANSFORM with DDL deparding
Date
Msg-id 20150621192520.GG133018@postgresql.org
Whole thread Raw
In response to Re: Incorrect processing of CREATE TRANSFORM with DDL deparding  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: Incorrect processing of CREATE TRANSFORM with DDL deparding  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-bugs
Michael Paquier wrote:
> On Fri, Jun 5, 2015 at 6:24 AM, Alvaro Herrera <alvherre@2ndquadrant.com> wrote:
> >
> > Michael Paquier wrote:
> >
> > > And I actually bumped into a bug with this fake test case:
> > > DROP TRANSFORM FOR int LANGUAGE SQL;
> > > + ERROR:  requested object address for unsupported object class 32: text
> > > result "unrecognized object 3576 16551 0"
> > > What happens is that the handling for transforms in getObjectIdentityParts
> > > is missing. This is fixed as well in the attached.
> >
> > Oh, interesting.  We need one or two extra lines in the
> > object_address.sql test as well, I guess.
>
> Ah, so that's where it is... Attached is an updated patch with this
> stuff. I noticed a couple of code paths where OCLASS_TRANSFORM was
> missing as well.

Thanks, pushed that part of it.  Looking at the event trigger bits next.

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

pgsql-bugs by date:

Previous
From: y_r_wang@263.net
Date:
Subject: BUG #13455: Start fair
Next
From: Alvaro Herrera
Date:
Subject: Re: BUG #13455: Start fair