Re: trouble migrating large objects from 7.1.3 to 7.3.2

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: trouble migrating large objects from 7.1.3 to 7.3.2
Дата
Msg-id 19017.1050977647@sss.pgh.pa.us
обсуждение исходный текст
Ответ на trouble migrating large objects from 7.1.3 to 7.3.2  ("John M. Layman" <jml@frijid.net>)
Список pgsql-admin
"John M. Layman" <jml@frijid.net> writes:
> I'm using the following command to migrate the data:

> pg_dump -p 6543 -b -Ft -v -o dbase | pg_restore -p 5432 -Ft -v -o -d dbase

The tar-archive code seems to have some bugs in it :-(.  I will look at
that, but the primary problem you are going to face here is that
pg_restore needs to seek in the dump file to implement this operation,
and it can't seek a pipe.

I think you will need to (a) use -Fc not -Ft, and (b) write the dump to
a temp file that pg_restore reads as a separate operation.

            regards, tom lane


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

Предыдущее
От: "John M. Layman"
Дата:
Сообщение: trouble migrating large objects from 7.1.3 to 7.3.2
Следующее
От: "John M. Layman"
Дата:
Сообщение: Re: trouble migrating large objects from 7.1.3 to 7.3.2