Re: Patch - Debug builds without optimization - Mailing list pgsql-hackers

From Florian Pflug
Subject Re: Patch - Debug builds without optimization
Date
Msg-id E97B5F5C-6CD1-471C-9B6D-B551043AB465@phlo.org
Whole thread Raw
In response to Re: Patch - Debug builds without optimization  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Jun16, 2011, at 16:10 , Tom Lane wrote:
> Florian Pflug <fgp@phlo.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



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Why polecat and colugos are failing to build back branches
Next
From: Noah Misch
Date:
Subject: Re: On-the-fly index tuple deletion vs. hot_standby