Re: New feature: selectivity - new attribute in function

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: New feature: selectivity - new attribute in function
Дата
Msg-id 201104161350.33694.adrian.klaver@gmail.com
обсуждение исходный текст
Ответ на Re: New feature: selectivity - new attribute in function  (Edison So <edison.so2@gmail.com>)
Ответы Re: New feature: selectivity - new attribute in function
Список pgsql-general
On Saturday, April 16, 2011 1:10:39 pm Edison So wrote:
> Thank you for the reply.
>
> It has nothing to do with programming. I was trying to back up the 8.1
> database (using pg_dump) which had exceeded 2Gig limit according to a
> response. When I tried to restore it using pg_restore to a 9.0 database, it
> complained about custom archiver error and corruption and the whole backup
> stopped.
>
> One response told me to try backing up 8.1 database using 9.0 pg_dump and
> restore it to 9.0 database using 9.0 pg_restore. Another option, I can
> think of, is to back up each table one at time and restore it one by one.
> This way the 2G limit will never come up during the backup. However, it
> requires a lot of works.

If you are trying to restore forward to 9.0 you will need to use the 9.0 version
of pg_dump in either case. If you are trying to create a backup to use on the
8.1 database you might try -Fp instead of -Fc to create the dump(untested). The
bug seems to be with the binary dump version not the text version.

>
> Any suggestion?
>
> Thanks,
>


--
Adrian Klaver
adrian.klaver@gmail.com

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

Предыдущее
От: Edison So
Дата:
Сообщение: Re: New feature: selectivity - new attribute in function
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: New feature: selectivity - new attribute in function