Re: debuging postgres

From: Gaetano Mendola <mendola(at)bigfoot(dot)com>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Subject: Re: debuging postgres
Date: 2004-08-24 11:29:43
Message-ID: 412B26A7.7020406@bigfoot.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Christopher Kings-Lynne wrote:

>> in order to debug "step by step" the postmaster,
>> just to understand better the code, is it enough
>> to compile it after having exported:
>>
>> CFLAGS='-O0 -g' ?
>>
>> do you have any hint and/or tips ?
>>
>> BTW what do you use for this task ?
>
>
> ./configure --enable-debug

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?

Regards
Gaetano Mendola

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Marc G. Fournier 2004-08-24 11:50:44 Re: pgsql-server: Update that 8.0 will support MS Win
Previous Message Bruce Momjian 2004-08-24 11:07:27 Re: AT TIME ZONE