From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | John R Pierce <pierce(at)hogranch(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: Int64GetDatum |
Date: | 2010-04-20 03:03:43 |
Message-ID: | 201004200303.o3K33hw02727@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Tom Lane wrote:
> John R Pierce <pierce(at)hogranch(dot)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.
Ah, good idea. Is pg_config.h the only file that varies from 32 to
64-bit?
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com
From | Date | Subject | |
---|---|---|---|
Next Message | John R Pierce | 2010-04-20 03:11:52 | Re: Int64GetDatum |
Previous Message | Bruce Momjian | 2010-04-20 03:02:19 | Re: Int64GetDatum |