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

Поиск
Список
Период
Сортировка
От Gregory Stark
Тема Re: pg_controldata doesn't report 64/32bit?
Дата
Msg-id 87y7c5of5m.fsf@oxford.xeocode.com
обсуждение исходный текст
Ответ на Re: pg_controldata doesn't report 64/32bit?  (Gregory Stark <stark@enterprisedb.com>)
Ответы Re: pg_controldata doesn't report 64/32bit?  (Gregory Stark <stark@enterprisedb.com>)
Re: pg_controldata doesn't report 64/32bit?  ("Joshua D. Drake" <jd@commandprompt.com>)
Re: pg_controldata doesn't report 64/32bit?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
"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.


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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Gregory Stark
Дата:
Сообщение: Re: pg_controldata doesn't report 64/32bit?
Следующее
От: Gregory Stark
Дата:
Сообщение: Re: pg_controldata doesn't report 64/32bit?