Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l2zck-0000Zd-Tt for pgsql-docs@arkaria.postgresql.org; Fri, 22 Jan 2021 16:49:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l2zcj-0004iT-MO for pgsql-docs@arkaria.postgresql.org; Fri, 22 Jan 2021 16:49:25 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l2zcj-0004iH-Gr for pgsql-docs@lists.postgresql.org; Fri, 22 Jan 2021 16:49:25 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l2zch-000184-3M for pgsql-docs@lists.postgresql.org; Fri, 22 Jan 2021 16:49:25 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 10MGnC9P1165902; Fri, 22 Jan 2021 11:49:12 -0500 From: Tom Lane To: benj.dev@laposte.net cc: pgsql-docs@lists.postgresql.org Subject: Re: HeapTupleHeaderData Layout description In-reply-to: <658235472.1027001.1611323445204@wlpnf0217> References: <658235472.1027001.1611323445204@wlpnf0217> Comments: In-reply-to benj.dev@laposte.net message dated "Fri, 22 Jan 2021 14:50:45 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <1165900.1611334152.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Fri, 22 Jan 2021 11:49:12 -0500 Message-ID: <1165901.1611334152@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk benj.dev@laposte.net writes: > In https://www.postgresql.org/docs/13/storage-page-layout.html
> we can find on =C2=A7 68.6.1. Table Row Layout
> the Table 68.4. HeapTupleHeaderData Layout
>
> When additionning Length of differents Fields taht are present we obtain=   atotal of
> 4+4+4+4+6+2+2+1 =3D 27
I think you missed the point that t_cid overlays with t_xvac. regards, tom lane