Re: Int64GetDatum

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Int64GetDatum
Дата
Msg-id 17150.1271732486@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Int64GetDatum  (John R Pierce <pierce@hogranch.com>)
Ответы Re: Int64GetDatum  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-general
John R Pierce <pierce@hogranch.com> writes:
> I don't know if the build trees can be structured so the include
> directories can be differentiated the same as the bin and lib...

The RPM distributions are able to deal with this without actually
differentiating: if you install both 32- and 64-bit RPMs then the
overlapping files are the same for both, with pg_config.h being
a stub that does this:

#if defined(__x86_64__)
#include "pg_config_x86_64.h"
#elif defined(__i386__)
#include "pg_config_i386.h"
... etc ...

I don't know if Solaris' package management offers the same ability, but
if it does, then it could be handled like that.

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: John R Pierce
Дата:
Сообщение: Re: Int64GetDatum
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Int64GetDatum