pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Craig McElroy <craig.mcelroy@contegix.com>
Cc: PostgreSQL Admin List <pgsql-admin@postgresql.org>
Subject: Re: Problem with PITR Past Particular WAL File
Date: Wed, 24 Oct 2007 14:26:34 -0400
Message-ID: <10123.1193250394@sss.pgh.pa.us> (raw)
In-Reply-To: <FF045AC2-D3E0-4DC6-BE39-4925AE9AD804@contegix.com>
References: <FF045AC2-D3E0-4DC6-BE39-4925AE9AD804@contegix.com>

Craig McElroy <craig.mcelroy@contegix.com> writes:
>> Can you get a stack trace from the core dump reported here?

>   Certainly, how can that be obtained?

$ gdb /path/to/postgres-executable /path/to/core-file
gdb> bt
gdb> quit

If you don't find a corefile in $PGDATA (or wherever your system puts
core files) then you probably need to restart the postmaster with
"ulimit -c unlimited" to allow producing a core.

If the "bt" output is just numbers and no symbols then it won't be of
any use; in that case you'll need to find or build non-stripped Postgres
executables.

			regards, tom lane



view thread (14+ messages)  latest in thread

Message-ID: <10123.1193250394@sss.pgh.pa.us>
Permalink:  ../10123.1193250394@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/10123.1193250394@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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, craig.mcelroy@contegix.com
  Subject: Re: Problem with PITR Past Particular WAL File
  In-Reply-To: <10123.1193250394@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