Re: restore large database

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: restore large database
Дата
Msg-id 42B6CAA4.6030904@archonet.com
обсуждение исходный текст
Ответ на restore large database  (Wenyan Ji <wenyan@flymine.org>)
Список pgsql-general
Wenyan Ji wrote:
> I am trying to restore a large database and use the commond
> cat dumpfilename | psql  dbname
> I got a out of memory error when it is trying to copy a String with size
> of 245,000,000
>
> Can anyone shed some light on it? Thanks for your help,

Why are you using cat rather than just:
   psql dbname < dumpfilename
or
   psql -f dumpfilename dbname

Also, what was the precise error message?
--
   Richard Huxton
   Archonet Ltd

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

Предыдущее
От: "O.B."
Дата:
Сообщение: Re: Access is denied during initdb
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: Help! What has changed in the internal structure of