Re: debuging postgres
| От | Gaetano Mendola |
|---|---|
| Тема | Re: debuging postgres |
| Дата | |
| Msg-id | 412B26A7.7020406@bigfoot.com обсуждение исходный текст |
| Ответ на | Re: debuging postgres (Christopher Kings-Lynne <chriskl@familyhealth.com.au>) |
| Ответы |
Re: debuging postgres
Re: debuging postgres |
| Список | 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
В списке pgsql-hackers по дате отправления: