Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YKxtU-0001nA-7a for pgsql-bugs@arkaria.postgresql.org; Mon, 09 Feb 2015 23:37:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YKxtS-0004jY-TY for pgsql-bugs@arkaria.postgresql.org; Mon, 09 Feb 2015 23:37:30 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YKxtS-0004jA-7A for pgsql-bugs@postgresql.org; Mon, 09 Feb 2015 23:37:30 +0000 Received: from smtpdg226.aruba.it ([62.149.158.226] helo=smtpcmd01240.aruba.it) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YKxtO-00073t-03 for pgsql-bugs@postgresql.org; Mon, 09 Feb 2015 23:37:28 +0000 Received: from 756b4.gi.lan ([188.29.165.114]) by smtpcmd03.ad.aruba.it with bizsmtp id qPdL1p00H2UQkMG01PdNQT; Tue, 10 Feb 2015 00:37:23 +0100 Received: by 756b4.gi.lan (masqmail 0.3.4, from userid 1000) id 1YKxtD-7Xr-00; Tue, 10 Feb 2015 00:37:15 +0100 Date: Tue, 10 Feb 2015 00:37:15 +0100 From: Gianni Ciolli To: Tom Lane Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #12752: Regression in ALTER TABLE RENAME COLUMN Message-ID: <20150209233715.GA24454@756b4.gi.lan> References: <20150209160215.15320.39219@wrigleys.postgresql.org> <28749.1423504178@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <28749.1423504178@sss.pgh.pa.us> User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -1.9 (-) 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 On Mon, Feb 09, 2015 at 12:49:38PM -0500, Tom Lane wrote: > We gave up trying to make index column names match the underlying table in > 9.0; so no currently supported PG release does what you wish, and it's > unlikely that any future one will either. (This is called out as an > incompatibility in the 9.0 release notes, FWIW.) Ah, that makes sense. I had looked up "pg_attribute" in the documentation, but didn't find anything... Sorry for the noise. > > Context information: the bug breaks Londiste, which uses > > pg_attribute.attname to match columns on the primary key index with the > > corrisponding columns on the table. > > I found the bug after a customer reported Londiste issues on a table whose > > primary key had been renamed. > > Sorry, but that's a Londiste bug not a Postgres bug. Of course; I reported it as context information, meaning that no motivation is implied. Best wishes, Dr. Gianni Ciolli - 2ndQuadrant Italia PostgreSQL Training, Services and Support gianni.ciolli@2ndquadrant.it | www.2ndquadrant.it -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs