pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: jmcgraw@databill.com
Cc: jpmcgraw1@cox.net
Cc: pgsql-admin@postgresql.org
Subject: Re: pg_dumpall won't work?
Date: Thu, 21 Feb 2002 13:58:26 -0500
Message-ID: <8930.1014317906@sss.pgh.pa.us> (raw)
In-Reply-To: <TradeClient.0.9.0.FreeBSD-4.2-RELEASE.0202211143082.4655@jmcgraw.databill.com>
References: <TradeClient.0.9.0.FreeBSD-4.2-RELEASE.0202211143082.4655@jmcgraw.databill.com>

Joel Mc Graw <jmcgraw@databill.com> 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



view thread (4+ messages)

Message-ID: <8930.1014317906@sss.pgh.pa.us>
Permalink:  ../8930.1014317906@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/8930.1014317906@sss.pgh.pa.us

 · 

reply

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, jmcgraw@databill.com, jpmcgraw1@cox.net
  Subject: Re: pg_dumpall won't work?
  In-Reply-To: <8930.1014317906@sss.pgh.pa.us>
  References: <TradeClient.0.9.0.FreeBSD-4.2-RELEASE.0202211143082.4655@jmcgraw.databill.com> <8930.1014317906@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