Re: BUG #9555: pg_dump for tables with inheritance recreates the table with the wrong order of columns

Поиск
Список
Период
Сортировка
Искать
От
Alvaro Herrera
Тема
Re: BUG #9555: pg_dump for tables with inheritance recreates the table with the wrong order of columns
Дата
Msg-id
20140313134739.GD4744@eldon.alvh.no-ip.org
Ответ на
Список
Дерево обсуждения
Re: BUG #9555: pg_dump for tables with inheritance recreates the table with the wrong order of columns Alvaro Herrera <alvherre@2ndquadrant.com>
Re: BUG #9555: pg_dump for tables with inheritance recreates the table with the wrong order of columns David Johnston <polobo@yahoo.com>
Re: BUG #9555: pg_dump for tables with inheritance recreates the table with the wrong order of columns Alvaro Herrera <alvherre@2ndquadrant.com>
Re: BUG #9555: pg_dump for tables with inheritance recreates the table with the wrong order of columns Fazal Majid <majid@apsalar.com>
majid@apsalar.com wrote:

> Reproduction case:
> 
> create table A(a int, b int, c int);
> create table B(a int, c int);
> alter table A inherit B;

I wonder if the real fix here is to have ALTER / INHERIT error out of
the columns in B are not a prefix of those in A.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
В списке pgsql-bugs по дате отправления
От: Marko Tiikkaja
Дата:
FAQ