pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Lamar Owen <lamar.owen@wgcr.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: Tim Lynch <admin@thirdage.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: crash help, pgsql 7.2.1 on RH7.3
Date: Sat, 23 Nov 2002 15:05:23 -0500
Message-ID: <200211231505.23116.lamar.owen@wgcr.org> (raw)
In-Reply-To: <6299.1038071427@sss.pgh.pa.us>
References: <02dd01c290d6$71e8abb0$2c0210ac@loisaida>
	<040901c291c3$3e8a81b0$2c0210ac@loisaida>
	<6299.1038071427@sss.pgh.pa.us>

On Saturday 23 November 2002 12:10, Tom Lane wrote:
> "Tim Lynch" <admin@thirdage.com> writes:
> > but, uh, what am i going to do with a core file? i would need a
> > non-stripped postgres binary first, right?

> Yup, you would.  I'd recommend building from source so that you can add
> both --enable-debug and --enable-cassert to the configure flags.  (It
> may actually be possible to do that with the SRPM distro, but I don't
> know how...)

Install the source RPM (.src.rpm), then edit 
/usr/src/redhat/SPECS/postgresql.spec, changing the line near the top that 
says:
%define beta 0
to
%define beta 1

Save and exit, then 'rpmbuild -ba postgresql.spec', then install the rpms to 
be found in /usr/src/redhat/RPMS/arch (i386 probably).

beta=1 defines both --enable-debug and --enable-cassert and allows the full 
debugging, AFAIK.  If it doesn't, then we need to look a little closer at 
it...
-- 
Lamar Owen
WGCR Internet Radio
1 Peter 4:11



view thread (8+ messages)  latest in thread

Message-ID: <200211231505.23116.lamar.owen@wgcr.org>
Permalink:  ../200211231505.23116.lamar.owen@wgcr.org/
Also on:    postgresql.org/message-id/200211231505.23116.lamar.owen@wgcr.org

 · 

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: lamar.owen@wgcr.org, tgl@sss.pgh.pa.us, admin@thirdage.com
  Subject: Re: crash help, pgsql 7.2.1 on RH7.3
  In-Reply-To: <200211231505.23116.lamar.owen@wgcr.org>
  References: <02dd01c290d6$71e8abb0$2c0210ac@loisaida> <040901c291c3$3e8a81b0$2c0210ac@loisaida> <6299.1038071427@sss.pgh.pa.us> <200211231505.23116.lamar.owen@wgcr.org>

* 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