Re: BUG #9555: pg_dump for tables with inheritance recreates the table with the wrong order of columns
| От | Tom Lane |
|---|---|
| Тема | Re: BUG #9555: pg_dump for tables with inheritance recreates the table with the wrong order of columns |
| Дата | |
| Msg-id | 15349.1394720340@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | 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
Re: BUG #9555: pg_dump for tables with inheritance recreates the table with the wrong order of columns Re: BUG #9555: pg_dump for tables with inheritance recreates the table with the wrong order of columns |
| Список | pgsql-bugs |
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> 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.
Years ago, we sweated quite a lot of blood to make these cases work.
I'm not thrilled about throwing away all that effort because one person
doesn't like the behavior.
regards, tom lane
В списке pgsql-bugs по дате отправления: