Re: Out of memory
От | Tom Lane |
---|---|
Тема | Re: Out of memory |
Дата | |
Msg-id | 25415.1311259016@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Out of memory (Johann Spies <jspies@sun.ac.za>) |
Ответы |
Re: Out of memory
|
Список | pgsql-admin |
Johann Spies <jspies@sun.ac.za> writes: > On a computer with 2G Ram running Debian Squeeze and Postgresql 8.4.8-0squeeze2 > I made a dump using 'pg_dump kb > kb.sql'. > I copied the file to another computer with 8G RAM running Debian > wheezy/sid/Postgresql 8.4.8-2 and tried to load that data by running > 'psql -f kb.sql' - a process which produced a lot of errors ending with > psql:kb.sql:4189263: invalid command \N > psql:kb.sql:4189277: invalid command \N Almost always, when you get a cascade of error messages, the thing to look at is the *first* error, or first few errors. Not the last ones. In this case I'd guess that a COPY command failed and psql is now trying to process the COPY data as SQL commands, but you'll never be able to tell any more than that without seeing the error message that the COPY reported. regards, tom lane
В списке pgsql-admin по дате отправления: