Skip site navigation (1) Skip section navigation (2)

Re: version() output vs. 32/64 bits

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: version() output vs. 32/64 bits
Date: 2008-12-30 15:35:35
Message-ID: 15302.1230651335@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> ...  Moreover, there does not actually seem to be a 
> way to find out whether you have a 32-bit or a 64-bit build (except by 
> using OS tools).

I think the basic definition of "32 bit" or "64 bit", certainly for
our purposes, is sizeof(void *).  That is something that configure
could easily find out.  Or you could look at sizeof(size_t) which
it already does find out.

I have no immediate proposal on how to factor that into the version
string.

			regards, tom lane

In response to

Responses

pgsql-hackers by date

Next:From: Kevin GrittnerDate: 2008-12-30 15:57:21
Subject: Re: Documenting serializable vs snapshot isolationlevels
Previous:From: Alvaro HerreraDate: 2008-12-30 15:31:14
Subject: Re: generic reloptions improvement

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group