X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 96D8CD1B564 for ; Thu, 9 Oct 2003 00:07:43 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 83648-01 for ; Wed, 8 Oct 2003 21:07:00 -0300 (ADT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 94802D1B53E for ; Wed, 8 Oct 2003 21:06:56 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.10/8.12.10) with ESMTP id h9906xhn005962; Wed, 8 Oct 2003 20:07:00 -0400 (EDT) To: Neil Conway Cc: Bruce Momjian , Jeff , PostgreSQL Performance , PostgreSQL Hackers Subject: Re: Sun performance - Major discovery! In-reply-to: <1065638251.3423.37.camel@tokyo> References: <200310081831.h98IVT919657@candle.pha.pa.us> <1065638251.3423.37.camel@tokyo> Comments: In-reply-to Neil Conway message dated "Wed, 08 Oct 2003 14:37:31 -0400" Date: Wed, 08 Oct 2003 20:06:59 -0400 Message-ID: <5961.1065658019@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/251 X-Sequence-Number: 3999 Neil Conway writes: > On Wed, 2003-10-08 at 14:31, Bruce Momjian wrote: >> Well, this is really embarassing. I can't imagine why we would not set >> at least -O on all platforms. I believe that autoconf will automatically select -O2 (when CFLAGS isn't already set) *if* it's chosen gcc. It won't select anything for vendor ccs. > Can we get these optimizations enabled in time for the next 7.4 beta? I think it's too late in the beta cycle to add optimization flags except for platforms we can get specific success results for. (Solaris is probably okay for instance.) The risk of breaking things seems too high. regards, tom lane