Re: PostgreSQL 8.1 x86_64 and 32bit shared objects

Поиск
Список
Период
Сортировка
От CG
Тема Re: PostgreSQL 8.1 x86_64 and 32bit shared objects
Дата
Msg-id 20060207200211.73709.qmail@web32512.mail.mud.yahoo.com
обсуждение исходный текст
Ответ на Re: PostgreSQL 8.1 x86_64 and 32bit shared objects  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: PostgreSQL 8.1 x86_64 and 32bit shared objects  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: PostgreSQL 8.1 x86_64 and 32bit shared objects
Следующее
От: Tom Lane
Дата:
Сообщение: Re: PostgreSQL 8.1 x86_64 and 32bit shared objects