Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sbcdh-000HxM-UV for pgsql-committers@arkaria.postgresql.org; Wed, 07 Aug 2024 09:07:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sbcdf-005zai-Pk for pgsql-committers@arkaria.postgresql.org; Wed, 07 Aug 2024 09:07:23 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sbcde-005zaa-8Y for pgsql-committers@lists.postgresql.org; Wed, 07 Aug 2024 09:07:23 +0000 Received: from fout5-smtp.messagingengine.com ([103.168.172.148]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sbcda-003beN-7K for pgsql-committers@lists.postgresql.org; Wed, 07 Aug 2024 09:07:21 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailfout.nyi.internal (Postfix) with ESMTP id CCCA0138FCA3; Wed, 7 Aug 2024 05:07:15 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Wed, 07 Aug 2024 05:07:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eisentraut.org; h=cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1723021635; x=1723108035; bh=C/XfOTpTVKFlb1zY+/olhP2B1TM6dSuN+DJ7JkZ6piw=; b= jwlcTnFvMk73QZ6rYtqwQSvYj2SdjI2rDAg+FNuPwGk9WMtAnnOvrcMStqmN3Pi7 FOqG8tKWOUYlD/+izjvVNUmNTXpwkPOJRTjMTbtq/WX9jGM4yA16AaPMgHSS/vnJ te7O5Q0DVucgRTWU9yPBklogtcrWc1N9Eoq05rnYHusU/hyF1nrfO3eP5nnqgIkI gN8/ptyiS0hFcK6S4Jfn4f3IG3U1YXxxVhi9rFRWEFnTAZVG6Pp4MuPwKt6kCN/x ojl95pw2K4dEWGJejoBThwz8crK182dqI1Cf5OC2Xq8wamOJArlWSH4aArNwFSKE 82X5mRbTZ57vKbFIz6/1IQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1723021635; x= 1723108035; bh=C/XfOTpTVKFlb1zY+/olhP2B1TM6dSuN+DJ7JkZ6piw=; b=l sjtvl+nvlIIu/tytq4ivj01dxeXyYSFA4HNZzmLbW2F12KFa4VsHhITgNw7G4P12 Mr8mOLb5JdCYC7mX+PHN1q1uETvvffaqZ8kuc2ce2l+wGRxNj7u2ndNfctdDu8yQ YZd5ivPHNXhpStuw4rBNR4dPUwDB7HC7gljurRe+tJAXwygY4FtFY4kcEMJR/IO9 l0D3AeiQXDg6qT+ZcoaK2VnRZFY+p4oiDr4wBJV3AloAwvAlIxnfHaW/d83gQAaw KWAQs1K7aXRFPEIuyfJIe0WtluNdDgZly+i0yV6OxT4ceXyHMMOw5MVen+CveXLL l2x2Ccdu5qyat3+OoKeZA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrledtgdduvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfuvfhfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpefrvghtvghr ucfgihhsvghnthhrrghuthcuoehpvghtvghrsegvihhsvghnthhrrghuthdrohhrgheqne cuggftrfgrthhtvghrnhepleeuveeuveeiveffledtkeeuffevveffhfejudffvedtheei leejgefgveefveefnecuffhomhgrihhnpehpohhsthhgrhdrvghspdhpohhsthhgrhgvsh hqlhdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhr ohhmpehpvghtvghrsegvihhsvghnthhrrghuthdrohhrghdpnhgspghrtghpthhtoheptd X-ME-Proxy: Feedback-ID: ie0a040ee:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 7 Aug 2024 05:07:14 -0400 (EDT) Message-ID: <92fe572d-638e-4162-aef6-1c42a2936f25@eisentraut.org> Date: Wed, 7 Aug 2024 11:07:13 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: pgsql: Fix more holes with SLRU code in need of int64 for segment numbe To: Michael Paquier , pgsql-committers@lists.postgresql.org References: Content-Language: en-US From: Peter Eisentraut In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 27.07.24 00:24, Michael Paquier wrote: > Fix more holes with SLRU code in need of int64 for segment numbers > > This is a continuation of 3937cadfd438, taking care of more areas I have > managed to miss previously. > > Reported-by: Noah Misch > Reviewed-by: Noah Misch > Discussion: https://postgr.es/m/20240724130059.1f.nmisch@google.com > Backpatch-through: 17 > > Branch > ------ > master > > Details > ------- > https://git.postgresql.org/pg/commitdiff/c9e24573905bef7fc3e4efb02bdb4d0cc8e43c51 I don't understand this patch. The previous patches that this references changed various variables to int64 and made adjustments following from that. But this patch takes variables and function results that are of type int and casts them to unsigned long long before printing. I don't see what that accomplishes, and it's not clear based on just the explanation that this is a continuation of a previous patch that doesn't do that. Is there a plan to change these things to int64 as well at some point?