Re: Optimization levels when compiling PostgreSQL... - Mailing list pgsql-hackers

From Lamar Owen
Subject Re: Optimization levels when compiling PostgreSQL...
Date
Msg-id 200209102211.40285.lamar.owen@wgcr.org
Whole thread Raw
In response to Re: Optimization levels when compiling PostgreSQL...  (Curt Sampson <cjs@cynic.net>)
Responses Re: Optimization levels when compiling PostgreSQL...  (Curt Sampson <cjs@cynic.net>)
List pgsql-hackers
On Tuesday 10 September 2002 09:31 pm, Curt Sampson wrote:
> On Wed, 11 Sep 2002, Peter Eisentraut wrote:
> > I disagree.  Choosing the compiler options is exactly the job of the
> > installer, packager, or distributor.

> If there is one, yes.

If the enduser is directly compiling the source, then that user is responsible 
for passing the flags desired -- they become their own packager.

> However, many users are not as knowledgable as packagers, but may
> still be compiling from source. For those people, I don't think it's
> unreasonable to say, "Use -O2 unless you know what you are doing."

I still remember when the Alpha port _required_ -O0.  And it was documented 
that way, IIRC.  

Compiling from source implies certain knowledge.  Automated from source 
builds, such as ports or linux distributions such as Gentoo can handle this 
in their own build systems. 

If someone can figure out how to override the default, then they can deal with 
the results, IMHO.
-- 
Lamar Owen
WGCR Internet Radio
1 Peter 4:11


pgsql-hackers by date:

Previous
From: Curt Sampson
Date:
Subject: Re: [JDBC] problem with new autocommit config parameter
Next
From: Bruce Momjian
Date:
Subject: Re: [JDBC] problem with new autocommit config parameter