Re: How to tell if 64 bit vs 32 bit engine?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Zoltan Boszormenyi <zb(at)cybertec(dot)at>
Cc: Keaton Adams <kadams(at)mxlogic(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: How to tell if 64 bit vs 32 bit engine?
Date: 2008-04-18 17:10:17
Message-ID: 3802.1208538617@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Zoltan Boszormenyi <zb(at)cybertec(dot)at> writes:
> Keaton Adams rta:
>> How do I tell if the 32 bit version of PostgreSQL is running on a 64
>> bit machine, or if the 64 bit version was installed?

> select version();
> It will tell you the compiler version and arch as well. You can deduce
> from there.

Or, if that doesn't seem very helpful, file(1) applied to the postgres
executable will tell you if it's a 32-bit or 64-bit executable.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alan Hodgson 2008-04-18 17:27:58 Re: In the belly of the beast (MySQLCon)
Previous Message Zoltan Boszormenyi 2008-04-18 16:20:53 Re: How to tell if 64 bit vs 32 bit engine?