From: Reiner Dassing <dassing@wettzell.ifag.de>
To: pgsql-admin@postgresql.org
Subject: Restoring a pg_dump fails with
Date: Thu, 26 Apr 2001 17:35:02 +0200
Message-ID: <3AE84026.F994B9E2@wettzell.ifag.de> (raw)
Hello!
By upgrading von PostgreSQL 6.5.3 to 7.1.0 I restored a dump file by
psql dbname <dbname.dump
After some time I get the following message:
ERROR: copy: line 1638280, Memory exhausted in AllocSetAlloc(56)
PQendcopy: resetting connection
The total number of lines is about 10 Millions!
Can anybody help me or explain what to do?
May be, I have to convert to INSERT-statements?
I also had a look to the dump via the editor "vi":
I do not see anything strange on that line.
Is there a limitation of COPY statements?
--
Mit freundlichen Gruessen / With best regards
Reiner Dassing
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: dassing@wettzell.ifag.de
Subject: Re: Restoring a pg_dump fails with
In-Reply-To: <3AE84026.F994B9E2@wettzell.ifag.de>
References: <3AE84026.F994B9E2@wettzell.ifag.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox