BUG #12752: Regression in ALTER TABLE RENAME COLUMN - Mailing list pgsql-bugs

From gianni.ciolli@2ndquadrant.it
Subject BUG #12752: Regression in ALTER TABLE RENAME COLUMN
Date
Msg-id 20150209160215.15320.39219@wrigleys.postgresql.org
Whole thread Raw
Responses Re: BUG #12752: Regression in ALTER TABLE RENAME COLUMN  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      12752
Logged by:          Gianni Ciolli
Email address:      gianni.ciolli@2ndquadrant.it
PostgreSQL version: 9.4.1
Operating system:   Debian GNU/Linux, testing
Description:

It appears that the bug discussed here has regressed since 9.1:

http://www.postgresql.org/message-id/200110121753.f9CHrnl10542@candle.pha.pa.us

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.

pgsql-bugs by date:

Previous
From: trasnaramesh@gmail.com
Date:
Subject: BUG #12750: issue with pg_restore s exit code when warnings are there
Next
From: Gianni Ciolli
Date:
Subject: BUG #12752: example SQL