Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Z6kt2-0008VQ-R5 for pgsql-bugs@arkaria.postgresql.org; Sun, 21 Jun 2015 19:26:36 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1Z6kt2-0003ym-6M for pgsql-bugs@arkaria.postgresql.org; Sun, 21 Jun 2015 19:26:36 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1Z6ks2-0002uw-6C for pgsql-bugs@postgresql.org; Sun, 21 Jun 2015 19:25:34 +0000 Received: from smtp-auth.no-ip.com ([8.23.224.61] helo=out.smtp-auth.no-ip.com) by magus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1Z6krx-0008Fm-8u for pgsql-bugs@postgresql.org; Sun, 21 Jun 2015 19:25:33 +0000 X-No-IP: alvh.no-ip.org@noip-smtp X-Report-Spam-To: abuse@no-ip.com Received: from alvin.alvh.no-ip.org (unknown [72.143.51.202]) (Authenticated sender: alvh.no-ip.org@noip-smtp) by smtp-auth.no-ip.com (Postfix) with ESMTPA id 768B94009DC; Sun, 21 Jun 2015 12:25:21 -0700 (PDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id 24AAC6342; Sun, 21 Jun 2015 16:25:20 -0300 (CLT) Date: Sun, 21 Jun 2015 16:25:20 -0300 From: Alvaro Herrera To: Michael Paquier Cc: PostgreSQL mailing lists Subject: Re: Incorrect processing of CREATE TRANSFORM with DDL deparding Message-ID: <20150621192520.GG133018@postgresql.org> References: <20150525155248.GG5885@postgresql.org> <20150604212429.GN133018@postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Michael Paquier wrote: > On Fri, Jun 5, 2015 at 6:24 AM, Alvaro Herrera 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 -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs