pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gianni Ciolli <gianni.ciolli@2ndquadrant.it>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #12752: Regression in ALTER TABLE RENAME COLUMN
Date: Tue, 10 Feb 2015 00:37:15 +0100
Message-ID: <20150209233715.GA24454@756b4.gi.lan> (raw)
In-Reply-To: <28749.1423504178@sss.pgh.pa.us>
References: <20150209160215.15320.39219@wrigleys.postgresql.org>
	<28749.1423504178@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

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



view thread (4+ messages)

Message-ID: <20150209233715.GA24454@756b4.gi.lan>
Permalink:  ../20150209233715.GA24454@756b4.gi.lan/
Also on:    postgresql.org/message-id/20150209233715.GA24454@756b4.gi.lan

 · 

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: gianni.ciolli@2ndquadrant.it, tgl@sss.pgh.pa.us
  Subject: Re: BUG #12752: Regression in ALTER TABLE RENAME COLUMN
  In-Reply-To: <20150209233715.GA24454@756b4.gi.lan>
  References: <20150209160215.15320.39219@wrigleys.postgresql.org> <28749.1423504178@sss.pgh.pa.us> <20150209233715.GA24454@756b4.gi.lan>

* 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