From: Chris Ruprecht <chrrup@gmail.com>
To: pgsql-admin@postgresql.org
Cc: Shane Ambler <pgsql@Sheeky.Biz>
Subject: Re: MacOS X 10.5.1 and compiling for multiple Architectures
Date: Fri, 4 Jan 2008 11:13:48 -0500
Message-ID: <F7009B96-B969-4D8F-9E75-5B9F938F1504@ruprecht.org> (raw)
In-Reply-To: <477D32EB.8060707@Sheeky.Biz>
References: <C76810EF-CE14-4090-82BA-C9B7504DBB22@ruprecht.org>
<28218.1199338865@sss.pgh.pa.us>
<9762BB1D-6D3E-4369-A3D2-8ACAECB4C669@ruprecht.org>
<477D32EB.8060707@Sheeky.Biz>
Hi Shane,
Sure, I'm aware of that.
I meant, that I have the PHP module running as 64-bit (since the Apple-
provided Apache is 64-bit) but without the other architectures built-
in. I know that I can re-build PG to be only 32 bit, but since we're
slowly moving into a 64-bit world anyway, there is no real need to do
that, except if there are major issues with PG 64-bit under OS X. So
far, it's still up and running.
best regards,
chris
--
chris ruprecht
network grunt and bit pusher extraordinaíre
On Jan 3, 2008, at 14:09, Shane Ambler wrote:
> 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
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
Attachments:
smime.p7s (application/pkcs7-signature, 2.4K) download
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: chrrup@gmail.com, pgsql@Sheeky.Biz
Subject: Re: MacOS X 10.5.1 and compiling for multiple Architectures
In-Reply-To: <F7009B96-B969-4D8F-9E75-5B9F938F1504@ruprecht.org>
References: <C76810EF-CE14-4090-82BA-C9B7504DBB22@ruprecht.org> <28218.1199338865@sss.pgh.pa.us> <9762BB1D-6D3E-4369-A3D2-8ACAECB4C669@ruprecht.org> <477D32EB.8060707@Sheeky.Biz> <F7009B96-B969-4D8F-9E75-5B9F938F1504@ruprecht.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox