Re: sequences not restoring properly

Поиск
Список
Период
Сортировка
От Brian Dimeler
Тема Re: sequences not restoring properly
Дата
Msg-id 43D12DB7.7080703@lserve.com
обсуждение исходный текст
Ответ на Re: sequences not restoring properly  (Doug McNaught <doug@mcnaught.org>)
Ответы Re: sequences not restoring properly  ("Joshua D. Drake" <jd@commandprompt.com>)
Список pgsql-general
Doing it that way doesn't produce any errors, but it still produces incorrect sequence names and values.

Doug McNaught wrote:

> Brian Dimeler <briand@lserve.com> writes:
>
>
>>I'm trying to transition a database from one server to another, the
>>old one running Postgres 7.4.1 and the new, 8.1.1. When I try to
>>restore using a pg_dump plaintext sql file from a nightly backup via
>>the usual
>>
>>psql thedb < backup.sql
>
>
> The best way to do this is to run the 8.1.1 pg_dump against the 7.4.1
> server.  The new pg_dump will know better how to create a backup that
> 8.1.1 will like.
>
> -Doug
>

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

Предыдущее
От: Doug McNaught
Дата:
Сообщение: Re: sequences not restoring properly
Следующее
От: Tom Lane
Дата:
Сообщение: Re: sequences not restoring properly