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 1ogWSp-0005Jz-LK for pgsql-hackers@arkaria.postgresql.org; Thu, 06 Oct 2022 19:23:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ogWSo-0003Wi-CN for pgsql-hackers@arkaria.postgresql.org; Thu, 06 Oct 2022 19:23:22 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ogWSo-0003WW-3R for pgsql-hackers@lists.postgresql.org; Thu, 06 Oct 2022 19:23:22 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ogWSl-0005Wc-U2 for pgsql-hackers@lists.postgresql.org; Thu, 06 Oct 2022 19:23:21 +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 296JNG952922296; Thu, 6 Oct 2022 15:23:16 -0400 From: Tom Lane To: Andres Freund cc: David Rowley , Julien Rouhaud , Robert Haas , Yura Sokolov , PostgreSQL Developers Subject: Re: Reducing the chunk header sizes on all memory context types In-reply-to: <20221006191454.yviucagfzayak3x6@awork3.anarazel.de> References: <555399.1663636988@sss.pgh.pa.us> <1693074.1664825870@sss.pgh.pa.us> <1913788.1664898906@sss.pgh.pa.us> <2869610.1665077908@sss.pgh.pa.us> <2910981.1665080361@sss.pgh.pa.us> <20221006190058.rgk4gxa34d6rg77o@awork3.anarazel.de> <2921309.1665083444@sss.pgh.pa.us> <20221006191454.yviucagfzayak3x6@awork3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Thu, 06 Oct 2022 12:14:54 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2922294.1665084196.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 06 Oct 2022 15:23:16 -0400 Message-ID: <2922295.1665084196@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Andres Freund writes: > On 2022-10-06 15:10:44 -0400, Tom Lane wrote: >> Andres Freund writes: >>> Maybe worth printing the method ID as well? >> I doubt it'd be useful. > I was thinking it could be useful to see whether the bits are likely to = be the > result of wipe_mem(). But I guess for that we should print the whole byt= e, > rather than just the method. Perhaps not worth it. I think printing the whole int64 header word would be appropriate if we were hoping for something like that. Still not sure if it's useful. On the other hand, if control gets there then you are probably in need of debugging help ... regards, tom lane