Re: PostgreSQL 8.1 x86_64 and 32bit shared objects

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: cgg007(at)yahoo(dot)com
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: PostgreSQL 8.1 x86_64 and 32bit shared objects
Date: 2006-02-07 18:38:09
Message-ID: 27642.1139337489@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-hackers

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.

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message CG 2006-02-07 20:02:11 Re: PostgreSQL 8.1 x86_64 and 32bit shared objects
Previous Message CG 2006-02-07 18:20:12 PostgreSQL 8.1 x86_64 and 32bit shared objects

Browse pgsql-hackers by date

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