Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 14C9C633873 for ; Thu, 12 Mar 2009 01:02:33 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 92516-03 for ; Thu, 12 Mar 2009 01:02:30 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from leary.csoft.net (leary.csoft.net [205.205.214.5]) by mail.postgresql.org (Postfix) with ESMTP id 00ED46335AB for ; Thu, 12 Mar 2009 01:02:29 -0300 (ADT) Received: by leary.csoft.net (Postfix, from userid 1112) id 8405AACAF; Thu, 12 Mar 2009 00:02:28 -0400 (EDT) Date: Thu, 12 Mar 2009 00:02:28 -0400 (EDT) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Tom Lane cc: Oliver Jowett , "Dickson S. Guedes" , pgsql-jdbc Subject: Re: Renaming sequence auto generated by SERIAL type don't update pg_attrdef In-Reply-To: <21668.1236659822@sss.pgh.pa.us> Message-ID: References: <1236650119.6410.73.camel@guedes-laptop> <20795.1236655715@sss.pgh.pa.us> <49B5E208.1080205@opencloud.com> <21151.1236657248@sss.pgh.pa.us> <49B5E761.4060507@opencloud.com> <21668.1236659822@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200903/60 X-Sequence-Number: 19390 On Tue, 10 Mar 2009, Tom Lane wrote: > Oliver Jowett writes: >> Tom Lane wrote: >>> pg_catalog.pg_get_expr(adbin, adrelid) > >> I don't think DBMD.getColumns() is expected to be called all that much, >> certainly not in performance-critical paths, so perhaps the more complex >> expression is the way to go. How far back, version-wise, will that >> expression work? > > According to the pg_dump sources, that's good back to 7.3 ... do you > care about earlier? It works for 7.2 as well. Prior to that we'll continue using adsrc. Committed to CVS and backpatched to 8.0. Kris Jurka