Re: How to tell if 64 bit vs 32 bit engine? - Mailing list pgsql-general

From zedware
Subject Re: How to tell if 64 bit vs 32 bit engine?
Date
Msg-id 2a889a90-281e-417a-bd4f-c78b31629139@b9g2000prh.googlegroups.com
Whole thread Raw
In response to How to tell if 64 bit vs 32 bit engine?  (Keaton Adams <kadams@mxlogic.com>)
List pgsql-general
On 4月21日, 上午1时35分, pete...@gmx.net (Peter Eisentraut) wrote:
> Zoltan Boszormenyi wrote:
> > select version();
>
> > It will tell you the compiler version and arch as well. You can deduce
> > from there.
>
> That approach is not reliable.  I often build and run a 32-bit build of
> PostgreSQL on a machine that claims to be something like
> x86_64-unknown-linux-gnu.
>
> --
> Sent via pgsql-general mailing list (pgsql-gene...@postgresql.org)
> To make changes to your subscription:http://www.postgresql.org/mailpref/pgsql-general

At the client side as libpq, `select version()' is the best solution
now.
It seems a good idea to let the backend support a GUC parameter like
those used in Linux/UNIX.

pgsql-general by date:

Previous
From: Howard Cole
Date:
Subject: Re: Missing Log File
Next
From: David Wall
Date:
Subject: Re: JDBC addBatch more efficient?