Re: [HACKERS] --enable-debug

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: PostgreSQL Development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] --enable-debug
Date: 2000-01-26 00:20:35
Message-ID: 200001260020.TAA04129@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

[Charset ISO-8859-1 unsupported, filtering to ASCII...]
> 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?)

Good idea.

--
Bruce Momjian | http://www.op.net/~candle
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Hannu Krosing 2000-01-26 00:25:13 Re: Happy column adding (was RE: [HACKERS] Happy columndropping)
Previous Message Henry B. Hotz 2000-01-26 00:18:17 Re: [HACKERS] Some notes on optimizer cost estimates