Joseph Conway <mail@joeconway.com> writes:
> Also semi-related question: when building from source, using gcc,
> enabling debug (but *not* assert) is normally not much of a performance
> hit. Is the same true if you build with the Sun CC?
Most non-gcc compilers disable optimization altogether if you enable
debug :-(. Perhaps that isn't true of Sun's, but I'd check its
documentation before considering --enable-debug for a production build.
regards, tom lane