Re: crash help, pgsql 7.2.1 on RH7.3

From: Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Tim Lynch" <admin(at)thirdage(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: crash help, pgsql 7.2.1 on RH7.3
Date: 2002-11-23 20:05:23
Message-ID: 200211231505.23116.lamar.owen@wgcr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Saturday 23 November 2002 12:10, Tom Lane wrote:
> "Tim Lynch" <admin(at)thirdage(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2002-11-23 20:23:22 Re: crash help, pgsql 7.2.1 on RH7.3
Previous Message Oliver Elphick 2002-11-23 18:37:08 Re: Troubles at Startup