Thread: is my pgsql 32 or 64 bit?
Hi,
I installed binaries on a sun box using packages dlded off sun’s site. The version is 8.1.4. How can i know whether i am running in 32 or 64 bit? SELECT version() ; does not show this.
postgres=# select version() ;
----------------------------------------------------------------------------------------------
PostgreSQL 8.1.4 on i386-pc-solaris2.10, compiled by /ws/on10-tools/SUNWspro/SOS8/bin/cc -Xa
(1 row)
Many thanks
justin
Attachment
On 10/10/07, Justin Vassallo <justin.vassallo@ixaris.com> wrote: > I installed binaries on a sun box using packages dlded off sun's site. The > version is 8.1.4. How can i know whether i am running in 32 or 64 bit? The most generic answer to that kind of question would be to use the command 'file' .... file /path/to/postgres/bin/postgres Cheers, Andrej
I'd suggest that the clue would be the "on xxxx" part of the line. I386-pc-solaris2.10 - sounds 32-bit to me. Intel 386 platform is 32-bit. If this was a binary package for their 32-bit Solaris version, and you've got it on a 64-bit box, either SPARC or IA64 or AMD64, then it proves they've got binary compatibility between their 32-bit and 64-bit platforms. If your OS is i386 Solaris, it's probably a 32-bit OS version. ________________________________ From: pgsql-novice-owner@postgresql.org [mailto:pgsql-novice-owner@postgresql.org] On Behalf Of Justin Vassallo Sent: Tuesday, October 09, 2007 11:12 AM To: pgsql-novice@postgresql.org Subject: [NOVICE] is my pgsql 32 or 64 bit? Hi, I installed binaries on a sun box using packages dlded off sun's site. The version is 8.1.4. How can i know whether i am running in 32 or 64 bit? SELECT version() ; does not show this. postgres=# select version() ; ------------------------------------------------------------------------ ---------------------- PostgreSQL 8.1.4 on i386-pc-solaris2.10, compiled by /ws/on10-tools/SUNWspro/SOS8/bin/cc -Xa (1 row) Many thanks justin This email and any files transmitted with it are confidential and intended solely for the use of the individual or entityto whom they are addressed. If you have received this email in error please notify the sender and delete it. Pleasenote that any views or opinions presented in this email are solely those of the author and do not necessarily representthose of the company. No employee or agent is authorized to conclude any binding agreement on behalf of Visa Lighting with another party by emailwithout express written confirmation by an authorized representative of the Company. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liabilityfor any damage caused by any virus transmitted by this email.