Re: pg_dump fails to include sequences, leads to restore fail in any version

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_dump fails to include sequences, leads to restore fail in any version
Дата
Msg-id 466.1213725573@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_dump fails to include sequences, leads to restore fail in any version  ("Jeffrey Baker" <jwbaker@gmail.com>)
Ответы Re: pg_dump fails to include sequences, leads to restore fail in any version
Список pgsql-hackers
"Jeffrey Baker" <jwbaker@gmail.com> writes:
> It is impossible to dump (with pg_dump -Ocx) and restore (with psql) a
> database which contains sequences in any of 8.1, 8.2, or 8.3:

I should think we would have heard about it before now if such a
sweeping claim were true.

What I suspect is that you are using 8.1's pg_dump, and you have tripped
over one of the corner cases that made us redesign dumping of serial
sequences for 8.2.  Do you get better results if you dump the problem
database with 8.2 or 8.3 pg_dump?
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Cleaning up cross-type arithmetic operators
Следующее
От: Teodor Sigaev
Дата:
Сообщение: Re: Reducing overhead for repeat de-TOASTing