--enable-debug - Mailing list pgsql-hackers

From Peter Eisentraut
Subject --enable-debug
Date
Msg-id Pine.LNX.4.21.0001251304260.345-100000@localhost.localdomain
Whole thread Raw
Responses Re: [HACKERS] --enable-debug
Re: [HACKERS] --enable-debug
List pgsql-hackers
Those that are aware of the --enable-debug switch might have found out
that it is only marginally useful. (Perhaps you have found it to be very
useful, in which case you are free to disagree with me.)

It seems that for a debugging environment you should not only put a -g on
the command line, but also a -Wall, and you most likely do not want to
have any optimization flags there. If no one objects I would like to make
this adjustment. (Perhaps the debug and cassert options should even be
merged?)

-- 
Peter Eisentraut                  Sernanders väg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Happy column adding (was RE: [HACKERS] Happy column dropping)
Next
From: Peter Eisentraut
Date:
Subject: Re: AW: [HACKERS] Some notes on optimizer cost estimates