Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 4A379475F54 for ; Tue, 13 Aug 2002 10:27:28 -0400 (EDT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 201F9475E85 for ; Tue, 13 Aug 2002 10:27:27 -0400 (EDT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.5/8.12.5) with ESMTP id g7DERKVk025626; Tue, 13 Aug 2002 10:27:21 -0400 (EDT) To: "Peter Kelly" Cc: pgsql-admin@postgresql.org Subject: Re: pg_dump fails..does not like "text" data.. In-reply-to: <5B11AE71DCF590449EF8C77A61DF09940754BE@bertha.ETS.NET> References: <5B11AE71DCF590449EF8C77A61DF09940754BE@bertha.ETS.NET> Comments: In-reply-to "Peter Kelly" message dated "Tue, 13 Aug 2002 08:26:45 -0400" Date: Tue, 13 Aug 2002 10:27:20 -0400 Message-ID: <25625.1029248840@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200208/135 X-Sequence-Number: 5250 "Peter Kelly" 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