Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id BBCA02E2D6C for ; Thu, 3 Jan 2008 15:09:48 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 68680-09 for ; Thu, 3 Jan 2008 15:09:37 -0400 (AST) Received: from ipmail01.adl6.internode.on.net (ipmail01.adl6.internode.on.net [203.16.214.146]) by postgresql.org (Postfix) with ESMTP id 782BD2E3274 for ; Thu, 3 Jan 2008 15:09:37 -0400 (AST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aj0KAPq+fEfLevdH/2dsb2JhbAAsgSuoYQ X-IronPort-AV: E=Sophos;i="4.24,240,1196602200"; d="scan'208";a="16767097" Received: from ppp247-71.static.internode.on.net (HELO DevBox.local) ([203.122.247.71]) by ipmail01.adl6.internode.on.net with ESMTP; 04 Jan 2008 05:39:32 +1030 Message-ID: <477D32EB.8060707@Sheeky.Biz> Date: Fri, 04 Jan 2008 05:39:31 +1030 From: Shane Ambler User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: Chris Ruprecht CC: pgsql-admin@postgresql.org Subject: Re: MacOS X 10.5.1 and compiling for multiple Architectures References: <28218.1199338865@sss.pgh.pa.us> <9762BB1D-6D3E-4369-A3D2-8ACAECB4C669@ruprecht.org> In-Reply-To: <9762BB1D-6D3E-4369-A3D2-8ACAECB4C669@ruprecht.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200801/43 X-Sequence-Number: 27817 Chris Ruprecht wrote: > Hey Tom, Shane, > I'm good to run with the x86_64 only binary since my Apache is built > using that architecture. That's not a real reason to run pg in 64 bit. Although you would need php and libpq to be the same architecture as apache (the running architect if multiple available) - the postgresql server can be 32 bit. If apache is only 64 bit then you will need a 64 bit libpq. Apache calls functions in the php module which then calls functions in the libpq - they must all have matching architectures available to do this which is why apple supplies fat binary libs with osx. From there to postgresql is a network connection (or local socket) so each program is just sending data to the other - they don't need to be the same architecture any more than you need a 64 bit sparc browser to connect to a 64 bit sparc web server. -- Shane Ambler pgSQL (at) Sheeky (dot) Biz Get Sheeky @ http://Sheeky.Biz