Re: pg_dump + serial + sequence problem

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_dump + serial + sequence problem
Дата
Msg-id 17580.1178818340@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_dump + serial + sequence problem  ("Luiz K. Matsumura" <luiz@planit.com.br>)
Ответы Re: pg_dump + serial + sequence problem  ("Luiz K. Matsumura" <luiz@planit.com.br>)
Список pgsql-bugs
"Luiz K. Matsumura" <luiz@planit.com.br> writes:
> CREATE TABLE teste
> (
>    id serial,
>    ...
> ALTER TABLE teste  ALTER COLUMN id DROP DEFAULT;

This isn't supported before 8.2, since as you found out pg_dump is
unable to reproduce the situation in the database --- the sequence is
still marked as "owned by" the column even though there's no default
anymore.  We aren't going to try to fix that behavior in the older
branches.

            regards, tom lane

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

Предыдущее
От: "Luiz K. Matsumura"
Дата:
Сообщение: pg_dump + serial + sequence problem
Следующее
От: "Luiz K. Matsumura"
Дата:
Сообщение: Re: pg_dump + serial + sequence problem