Re: PostgreSQL 8.1 x86_64 and 32bit shared objects

From: CG <cgg007(at)yahoo(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-admin(at)postgresql(dot)org
Subject: Re: PostgreSQL 8.1 x86_64 and 32bit shared objects
Date: 2006-02-07 20:02:11
Message-ID: 20060207200211.73709.qmail@web32512.mail.mud.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-hackers

--- Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> CG <cgg007(at)yahoo(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2006-02-07 20:11:41 Re: PostgreSQL 8.1 x86_64 and 32bit shared objects
Previous Message Tom Lane 2006-02-07 18:38:09 Re: PostgreSQL 8.1 x86_64 and 32bit shared objects

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-02-07 20:11:41 Re: PostgreSQL 8.1 x86_64 and 32bit shared objects
Previous Message Andrew Rawnsley 2006-02-07 20:00:03 Re: streamlined standby procedure