(unnamed)

text/plain

Filename: (unnamed)
Type: text/plain
Part: 0
Message: Re: Patch - Debug builds without optimization
commit 2ff36abeec948899b9a51d1c945e9fbe85e056d5
Author: Bruce Momjian <bruce@momjian.us>
Date:   Tue Nov 29 19:11:53 2011 -0500

    In docs, suggest "-O0 -g" only if using a debugger.

diff --git a/doc/src/sgml/installation.sgml b/doc/src/sgml/installation.sgml
new file mode 100644
index 16fbdc6..76c64e5
*** a/doc/src/sgml/installation.sgml
--- b/doc/src/sgml/installation.sgml
*************** su - postgres
*** 1418,1424 ****
        Server developers should consider using the configure options 
        <option>--enable-cassert</> and <option>--enable-debug</> to enhance the
        ability to detect and debug server errors.  They should also consider
!       running configure with <literal>CFLAGS="-O0 -g"</>.
       </para>
      </note>
     </step>
--- 1418,1424 ----
        Server developers should consider using the configure options 
        <option>--enable-cassert</> and <option>--enable-debug</> to enhance the
        ability to detect and debug server errors.  They should also consider
!       running configure with <literal>CFLAGS="-O0 -g"</> if using a debugger.
       </para>
      </note>
     </step>