Re: pg_dumpall won't work?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Joel Mc Graw <jpmcgraw1(at)home(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: pg_dumpall won't work?
Date: 2002-02-07 17:52:26
Message-ID: 14165.1013104346@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Joel Mc Graw <jpmcgraw1(at)home(dot)com> writes:
> I tried to run pg_dumpall and I got "strdup: failed to allocate
> memory". I tried to run it again and I get a segmentation fault.

Strange. Can you provide a debugger backtrace from the segfault?
Another thing that might be useful is to log the queries being sent
to the server, so we can see what the last few were. Easiest way
to do that is
export PGOPTIONS="-d2"
(or equivalent for whatever shell you use) before running pg_dump.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Phill Kenoyer 2002-02-07 17:57:34 Re: PG 7.2 tarball
Previous Message Simone Tellini 2002-02-07 17:37:18 PG 7.2 tarball