Re: BUG #12752: Regression in ALTER TABLE RENAME COLUMN

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #12752: Regression in ALTER TABLE RENAME COLUMN
Дата
Msg-id 28749.1423504178@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #12752: Regression in ALTER TABLE RENAME COLUMN  (gianni.ciolli@2ndquadrant.it)
Ответы Re: BUG #12752: Regression in ALTER TABLE RENAME COLUMN
Re: BUG #12752: Regression in ALTER TABLE RENAME COLUMN
Список pgsql-bugs
gianni.ciolli@2ndquadrant.it writes:
> It appears that the bug discussed here has regressed since 9.1:

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

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.)

> 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.

            regards, tom lane

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Gianni Ciolli
Дата:
Сообщение: BUG #12752: example SQL
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: BUG #12752: Regression in ALTER TABLE RENAME COLUMN