pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: PostgreSQL mailing lists <pgsql-bugs@postgresql.org>
Subject: Re: Incorrect processing of CREATE TRANSFORM with DDL deparding
Date: Sun, 21 Jun 2015 16:25:20 -0300
Message-ID: <20150621192520.GG133018@postgresql.org> (raw)
In-Reply-To: <CAB7nPqT71m-VGHk1qdV7LMAgxBVM+5xHfu-nA_RBBi6BMJbm7g@mail.gmail.com>
References: <CAB7nPqQNS36enM2R=6P9FvKUu7t3k=2EjFkFBPnby==pLFqQ+w@mail.gmail.com>
	<20150525155248.GG5885@postgresql.org>
	<CAB7nPqR3oeggsoVqKrgvoS=mJCfH1qMbFHjCGj2RVLu0Nf7Sjg@mail.gmail.com>
	<CAB7nPqSLYNb3PN18ZoFHHbsb4D6A8WZNYKV_xPidG+K0o5GmMg@mail.gmail.com>
	<CAB7nPqT2SZ39N_wH+WK8JGPKO3LCyWQiLoxgcgq_UyPJNc8hSg@mail.gmail.com>
	<20150604212429.GN133018@postgresql.org>
	<CAB7nPqT71m-VGHk1qdV7LMAgxBVM+5xHfu-nA_RBBi6BMJbm7g@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (14+ messages)  latest in thread

Message-ID: <20150621192520.GG133018@postgresql.org>
Permalink:  ../20150621192520.GG133018@postgresql.org/
Also on:    postgresql.org/message-id/20150621192520.GG133018@postgresql.org

 · 

reply

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, michael.paquier@gmail.com
  Subject: Re: Incorrect processing of CREATE TRANSFORM with DDL deparding
  In-Reply-To: <20150621192520.GG133018@postgresql.org>
  References: <CAB7nPqQNS36enM2R=6P9FvKUu7t3k=2EjFkFBPnby==pLFqQ+w@mail.gmail.com> <20150525155248.GG5885@postgresql.org> <CAB7nPqR3oeggsoVqKrgvoS=mJCfH1qMbFHjCGj2RVLu0Nf7Sjg@mail.gmail.com> <CAB7nPqSLYNb3PN18ZoFHHbsb4D6A8WZNYKV_xPidG+K0o5GmMg@mail.gmail.com> <CAB7nPqT2SZ39N_wH+WK8JGPKO3LCyWQiLoxgcgq_UyPJNc8hSg@mail.gmail.com> <20150604212429.GN133018@postgresql.org> <CAB7nPqT71m-VGHk1qdV7LMAgxBVM+5xHfu-nA_RBBi6BMJbm7g@mail.gmail.com> <20150621192520.GG133018@postgresql.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