Re: PostgreSQL 8.1 x86_64 and 32bit shared objects - Mailing list pgsql-admin

From CG
Subject Re: PostgreSQL 8.1 x86_64 and 32bit shared objects
Date
Msg-id 20060207200211.73709.qmail@web32512.mail.mud.yahoo.com
Whole thread Raw
In response to Re: PostgreSQL 8.1 x86_64 and 32bit shared objects  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: PostgreSQL 8.1 x86_64 and 32bit shared objects  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin

--- Tom Lane <tgl@sss.pgh.pa.us> wrote:

> CG <cgg007@yahoo.com> writes:
> > Being the novice that I am, I thought that 32bit and 64bit binary code
> > could be used interchangeably. Is there some incompatibility of which
> > I am unaware?
>
> AFAIK you can't mix the two in the same executable image.  If you are
> stuck using a 32-bit-only library, you'll have to build all of the
> Postgres server as 32-bit.  Note that this is probably not going to
> cost all that much performance-wise, so I wouldn't recommend expending
> any great amount of sweat to avoid it.

Hm. It looks like building 32-bit Postgres is going to be even uglier what with
all the libraries that will have to be compiled into lib32. It thought it would
be easy enough to CC=gcc32 ./configure --with-all-my-options ... Should I have
started out with a 32-bit Linux distro?


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: PostgreSQL 8.1 x86_64 and 32bit shared objects
Next
From: Tom Lane
Date:
Subject: Re: PostgreSQL 8.1 x86_64 and 32bit shared objects