Re: pg_controldata doesn't report 64/32bit? - Mailing list pgsql-hackers

From Joshua D. Drake
Subject Re: pg_controldata doesn't report 64/32bit?
Date
Msg-id 475A418B.3090702@commandprompt.com
Whole thread Raw
In response to Re: pg_controldata doesn't report 64/32bit?  (Gregory Stark <stark@enterprisedb.com>)
List pgsql-hackers
Gregory Stark wrote:
> "Gregory Stark" <stark@enterprisedb.com> writes:
> 
>> "Tom Lane" <tgl@sss.pgh.pa.us> writes:
>>
>>> Josh Berkus <josh@agliodbs.com> writes:
>>>> I've just noticed that pg_controldata doesn't say anything about whether 
>>>> the database is 64-bit or 32-bit.
>>> That's because there is no such concept.
>> I think the relevant concept is whether Datum is 32-bit or 64-bit wide.
> 
> Oh, I see what you meant now. Datum is a purely in-memory concept, it doesn't
> actually reach disk.
> 
> We could always tighten this up a bit by listing the alignment of a handful of
> built-in data types but I suppose there will always be holes in this area
> anyways.

What are we gaining here? A 32bit postmaster can't start a 64bit one... 
Running select version() will tell you if you are running 64 or 32bit...

What am I missing?

Joshua D. Drake

> 
> 



pgsql-hackers by date:

Previous
From: Gregory Stark
Date:
Subject: Re: pg_controldata doesn't report 64/32bit?
Next
From: Tom Lane
Date:
Subject: Re: pg_controldata doesn't report 64/32bit?