Re: Dump - Mailing list pgsql-general

From Tom Lane
Subject Re: Dump
Date
Msg-id 3937.960393161@sss.pgh.pa.us
Whole thread Raw
In response to Re: Dump  (Mihai Gheorghiu <tanhq@bigplanet.com>)
List pgsql-general
Mihai Gheorghiu <tanhq@bigplanet.com> writes:
>>> I wanted to back up a database prior to upgrading to 7.0.2
>>> pg_dump dbname > dbname.bak
>>> FATAL 1: Memory exhausted in AllocSetAlloc()
>>> PQendcopy: resetting connection
>>> SQL query to dump the contents of Table 'tblname' did not execute
>>> correctly.
>>
>> Hmm, what version are you using now?  COPY used to have a memory leak
>> problem according to the CVS logs, but that was long ago (pre-6.4).

> 7.0 on RH6.1

OK, so much for the old-version theory.  What is the full declaration of
table 'tblname'?  (Easiest way to get it is pg_dump -s -t tblname dbname.)
Also, how many rows in the table?

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Dump
Next
From: mjp@ornl.gov
Date:
Subject: Re: Composite Types