X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 2D2509DCB49 for ; Thu, 9 Mar 2006 11:58:28 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 93601-01 for ; Thu, 9 Mar 2006 11:58:32 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from candle.pha.pa.us (candle.pha.pa.us [70.90.9.53]) by postgresql.org (Postfix) with ESMTP id BAEBF9DCA34 for ; Thu, 9 Mar 2006 11:58:25 -0400 (AST) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id k29FwNt21647; Thu, 9 Mar 2006 10:58:23 -0500 (EST) From: Bruce Momjian Message-Id: <200603091558.k29FwNt21647@candle.pha.pa.us> Subject: Re: Solaris 10/postgreSQL-8.0.1/--enable-thread-safety In-Reply-To: <44104E83.3070205@linuxlouis.net> To: Louis Gonzales Date: Thu, 9 Mar 2006 10:58:23 -0500 (EST) CC: "renneyt@yahoo.com" , pgsql-admin@postgresql.org X-Mailer: ELM [version 2.4ME+ PL121 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.448 required=5 tests=[AWL=-0.052, RAZOR2_CHECK=0.5] X-Spam-Score: 0.448 X-Spam-Level: X-Archive-Number: 200603/97 X-Sequence-Number: 20854 -enable-thread-safety should take care of all this and add -pthreads to the link line. Please look at config.log or email it to me privately. /config/acx_pthread.m4 tries all link flags and should have picked up -pthreads. --------------------------------------------------------------------------- Louis Gonzales wrote: > renneyt@yahoo.com wrote: > > >Hello, I succesfully compiled PGSQL 8.0.4 on solaris 10 (sparc). > > > >I used gcc and used CFLAGS="-O3 -pthreads". > > > >My configure instructions are as such: > > > >configure --with-includes=/usr/local/include --with-openssl -with-includes=/usr/local/ssl > >/include/ -with-libs=/usr/local/lib -with-libs=/usr/local/ssl/lib -enable-thread-safety > > > >my gcc specs are as such: > >Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.10/3.3.2/specs > >Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls > >Thread model: posix > >gcc version 3.3.2 > > > >gcc was taken from sunfreeware.com > > > >Same config also worked with SOL9 (sparc) > > > > > > > > > Thanks, > I had tried CFLAGS="-D_someOption -pthreads" and that hadn't worked, > I'll give yours a whirl what you have suggested. > did you use "-"enable-thread-safety or "--"enable-thread-safety? > > > > ---------------------------(end of broadcast)--------------------------- > TIP 9: In versions below 8.0, the planner will ignore your desire to > choose an index scan if your joining column's datatypes do not > match > -- Bruce Momjian http://candle.pha.pa.us SRA OSS, Inc. http://www.sraoss.com + If your life is a hard drive, Christ can be your backup. +