Re: debuging postgres - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject Re: debuging postgres
Date
Msg-id 412BEE47.2080502@familyhealth.com.au
Whole thread Raw
In response to Re: debuging postgres  (Gaetano Mendola <mendola@bigfoot.com>)
List pgsql-hackers
> Is this enough? I'm seeing that with --enable-debug only the
> option -g is passed to the compiler and the option -O2 is
> still there, is it not better compile with -O0 if you are
> going to debug it?

Well, I use the following:

./configure --prefix=blah --enable-debug --enable-cassert 
--enable-depend --with-openssl --with-perl --with-pam

(Or something like that)

My theory is that the more I compile in the more that gets tested :)

Chris



pgsql-hackers by date:

Previous
From: Christopher Kings-Lynne
Date:
Subject: Re: [COMMITTERS] pgsql-server: Rearrange pg_subtrans handling
Next
From: Josh Berkus
Date:
Subject: Re: futex