| From: | Simon Riggs <simon(dot)riggs(at)enterprisedb(dot)com> |
|---|---|
| To: | "Daniel Westermann (DWE)" <daniel(dot)westermann(at)dbi-services(dot)com> |
| Cc: | "pgsql-docs(at)lists(dot)postgresql(dot)org" <pgsql-docs(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: Are we really using 23 bytes on most machines? |
| Date: | 2022-09-20 13:48:02 |
| Message-ID: | CANbhV-EpeU80k-utOBEGLZP2icdnsvbtD1N_m6AUYT26NjYhMg@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-docs |
On Tue, 20 Sept 2022 at 13:24, Daniel Westermann (DWE)
<daniel(dot)westermann(at)dbi-services(dot)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/
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Daniel Westermann (DWE) | 2022-09-20 13:49:09 | Re: Are we really using 23 bytes on most machines? |
| Previous Message | Daniel Westermann (DWE) | 2022-09-20 12:24:08 | Are we really using 23 bytes on most machines? |