Re: debuging postgres

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: Gaetano Mendola <mendola(at)bigfoot(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: debuging postgres
Date: 2004-08-25 01:41:27
Message-ID: 412BEE47.2080502@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Berkus 2004-08-25 01:43:14 Re: futex
Previous Message Christopher Kings-Lynne 2004-08-25 01:40:14 Re: [COMMITTERS] pgsql-server: Rearrange pg_subtrans handling