Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id B13454758C9 for ; Sat, 23 Nov 2002 15:05:26 -0500 (EST) Received: from www.wgcr.org (www.wgcr.org [206.74.232.194]) by postgresql.org (Postfix) with ESMTP id EE26E4758BD for ; Sat, 23 Nov 2002 15:05:25 -0500 (EST) Received: from localhost.localdomain ([206.74.232.227]) by www.wgcr.org (8.9.3/8.9.3/WGCR) with ESMTP id PAA03629; Sat, 23 Nov 2002 15:05:26 -0500 Content-Type: text/plain; charset="utf-8" From: Lamar Owen To: Tom Lane , "Tim Lynch" Subject: Re: crash help, pgsql 7.2.1 on RH7.3 Date: Sat, 23 Nov 2002 15:05:23 -0500 User-Agent: KMail/1.4.3 Cc: pgsql-admin@postgresql.org References: <02dd01c290d6$71e8abb0$2c0210ac@loisaida> <040901c291c3$3e8a81b0$2c0210ac@loisaida> <6299.1038071427@sss.pgh.pa.us> In-Reply-To: <6299.1038071427@sss.pgh.pa.us> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200211231505.23116.lamar.owen@wgcr.org> X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200211/229 X-Sequence-Number: 6417 On Saturday 23 November 2002 12:10, Tom Lane wrote: > "Tim Lynch" 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