Re: pg_controldata doesn't report 64/32bit?

From: Gregory Stark <stark(at)enterprisedb(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Josh Berkus" <josh(at)agliodbs(dot)com>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_controldata doesn't report 64/32bit?
Date: 2007-12-08 06:48:37
Message-ID: 87y7c5of5m.fsf@oxford.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Gregory Stark" <stark(at)enterprisedb(dot)com> writes:

> "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:
>
>> Josh Berkus <josh(at)agliodbs(dot)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.

--
Gregory Stark
EnterpriseDB http://www.enterprisedb.com
Ask me about EnterpriseDB's 24x7 Postgres support!

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Gregory Stark 2007-12-08 07:01:02 Re: pg_controldata doesn't report 64/32bit?
Previous Message Gregory Stark 2007-12-08 05:45:53 Re: pg_controldata doesn't report 64/32bit?