From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Kelly <pkelly@ETS.NET>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_dump fails..does not like "text" data..
Date: Tue, 13 Aug 2002 10:27:20 -0400
Message-ID: <25625.1029248840@sss.pgh.pa.us> (raw)
In-Reply-To: <5B11AE71DCF590449EF8C77A61DF09940754BE@bertha.ETS.NET>
References: <5B11AE71DCF590449EF8C77A61DF09940754BE@bertha.ETS.NET>
"Peter Kelly" <pkelly@ETS.NET> writes:
> - I have tried pg_dump -d and pg_dump -D -- both with errors.
> - I am running PostgreSQL 7.0.3 on Linux RedHat 7.0 (with all updates)
Leave out both -d and -D.
If you really want to use those formats, you'll need to get a more
recent pg_dump --- I think 7.2 is the first version that doesn't try to
buffer the whole table on the client side when -d or -D is used.
Basically your problem is that pg_dump is running out of memory.
(It might be that increasing pg_dump's ulimit or available swap space
would make it possible to complete the dump, but on the whole I think
you're best off with a COPY-style dump anyway for that much data.)
regards, tom lane
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: tgl@sss.pgh.pa.us, pkelly@ETS.NET
Subject: Re: pg_dump fails..does not like "text" data..
In-Reply-To: <25625.1029248840@sss.pgh.pa.us>
References: <5B11AE71DCF590449EF8C77A61DF09940754BE@bertha.ETS.NET> <25625.1029248840@sss.pgh.pa.us>
* 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