Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 19C5647597E for ; Thu, 21 Feb 2002 13:58:48 -0500 (EST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.11.4/8.11.4) with ESMTP id g1LIwQS08933; Thu, 21 Feb 2002 13:58:26 -0500 (EST) To: jmcgraw@databill.com Cc: jpmcgraw1@cox.net, pgsql-admin@postgresql.org Subject: Re: pg_dumpall won't work? In-reply-to: References: Comments: In-reply-to Joel Mc Graw message dated "Thu, 21 Feb 2002 18:43:08 -0300" Date: Thu, 21 Feb 2002 13:58:26 -0500 Message-ID: <8930.1014317906@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200202/266 X-Sequence-Number: 3419 Joel Mc Graw writes: > Tom, I'm afraid I'm not quite the guru I'd like to be; can you (or > anyone) provide guidance on getting a "debugger backtrace from the > segfault"? Find the core file (if there isn't one, maybe you need "ulimit -c unlimited") and do gdb /path/to/executable /path/to/corefile gdb> bt gdb> quit Make sure you are selecting the executable that actually generated the core dump. It was less than clear to me from your report whether the crash was in pg_dumpall, pg_dump (which it invokes), or on the backend side. On many platforms file(1) can tell you which program generated a particular core dump. BTW, did you say which platform and which PG version this is? > The following shows the queries after exporting PGOPTIONS="-d2" No, I meant the queries sent to the backend --- look in the postmaster log. regards, tom lane