Re: Incorrect processing of CREATE TRANSFORM with DDL deparding
От | Alvaro Herrera |
---|---|
Тема | Re: Incorrect processing of CREATE TRANSFORM with DDL deparding |
Дата | |
Msg-id | 20150621192520.GG133018@postgresql.org обсуждение исходный текст |
Ответ на | Re: Incorrect processing of CREATE TRANSFORM with DDL deparding (Michael Paquier <michael.paquier@gmail.com>) |
Ответы |
Re: Incorrect processing of CREATE TRANSFORM with DDL deparding
|
Список | 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 по дате отправления: