Re: Patch - Debug builds without optimization

From: Florian Pflug <fgp(at)phlo(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Radosław Smogura <rsmogura(at)softperience(dot)eu>, PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Patch - Debug builds without optimization
Date: 2011-06-16 14:43:32
Message-ID: E97B5F5C-6CD1-471C-9B6D-B551043AB465@phlo.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Jun16, 2011, at 16:10 , Tom Lane wrote:
> Florian Pflug <fgp(at)phlo(dot)org> writes:
>> I usually use -O1 for debug builds, these are usually still at least
>> somewhat debuggable with gdb.
>
> I tend to do that too, but I still think that folding it into
> --enable-debug would be a mistake.

+1.

I didn't mean to suggest we fold -O1 into --enable-debug, I
was just handling out advice to the OP ;-)

best regards,
Florian Pflug

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Noah Misch 2011-06-16 14:47:46 Re: On-the-fly index tuple deletion vs. hot_standby
Previous Message Greg Smith 2011-06-16 14:31:01 Re: procpid?