Re: Are we really using 23 bytes on most machines?

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: Are we really using 23 bytes on most machines?
Дата
Msg-id CANbhV-EpeU80k-utOBEGLZP2icdnsvbtD1N_m6AUYT26NjYhMg@mail.gmail.com
обсуждение исходный текст
Ответ на Are we really using 23 bytes on most machines?  ("Daniel Westermann (DWE)" <daniel.westermann@dbi-services.com>)
Ответы Re: Are we really using 23 bytes on most machines?  ("Daniel Westermann (DWE)" <daniel.westermann@dbi-services.com>)
Список pgsql-docs
On Tue, 20 Sept 2022 at 13:24, Daniel Westermann (DWE)
<daniel.westermann@dbi-services.com> wrote:
>
> Hi,
>
> https://www.postgresql.org/docs/current/storage-page-layout.html
> "(occupying 23 bytes on most machines)"
>
> Is this still true? At least on Linux it is 24 bytes:
>
> postgres=# select pg_column_size( row() );
>
>  pg_column_size
> ----------------
>
>              24

Yes, but it is MAXALIGNED, which is documented. So the value you see
is correct and matches the docs.

-- 
Simon Riggs                http://www.EnterpriseDB.com/



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

Предыдущее
От: "Daniel Westermann (DWE)"
Дата:
Сообщение: Are we really using 23 bytes on most machines?
Следующее
От: "Daniel Westermann (DWE)"
Дата:
Сообщение: Re: Are we really using 23 bytes on most machines?