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 1uXhQ7-00DKo9-FT for pgsql-hackers@arkaria.postgresql.org; Fri, 04 Jul 2025 14:29:43 +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 1uXhQ5-0017ou-H4 for pgsql-hackers@arkaria.postgresql.org; Fri, 04 Jul 2025 14:29:42 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uXhQ5-0017oc-7L for pgsql-hackers@lists.postgresql.org; Fri, 04 Jul 2025 14:29:41 +0000 Received: from oss.nttdata.com ([49.212.34.109]) by makus.postgresql.org with smtp (Exim 4.96) (envelope-from ) id 1uXhQ3-005YQQ-36 for pgsql-hackers@lists.postgresql.org; Fri, 04 Jul 2025 14:29:40 +0000 Received: from [192.168.11.9] (p1696134-ipoe.ipoe.ocn.ne.jp [118.0.93.133]) by oss.nttdata.com (Postfix) with ESMTPSA id 1FB0061B9D; Fri, 4 Jul 2025 23:29:36 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at oss.nttdata.com Message-ID: <5c3ebd10-9773-440d-93ae-d5f737827ca1@oss.nttdata.com> Date: Fri, 4 Jul 2025 23:29:35 +0900 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: amcheck: Remove unused IndexCheckableCallback typedef Content-Language: en-US To: Andrey Borodin Cc: pgsql-hackers@lists.postgresql.org References: <4CBF8299-22E1-4CF8-80B0-32EEF8223911@yandex-team.ru> From: Fujii Masao In-Reply-To: <4CBF8299-22E1-4CF8-80B0-32EEF8223911@yandex-team.ru> 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 2025/07/04 17:25, Andrey Borodin wrote: > > >> On 4 Jul 2025, at 10:50, Fujii Masao wrote: >> >> From the discussion in [1], it seems this typedef was originally used as >> a function argument in early versions of the patch. However, >> the argument was removed in v23, and the typedef was accidentally left behind. > > Yes, your analysis is correct. We could make common checking function and argument was not needed. > >> >> The attached patch removes this unused typedef to clean up the dead code. >> Thoughts? > > Looks good to me. Thanks for fixing this! Thanks for the review! I've pushed the patch. Regards, -- Fujii Masao NTT DATA Japan Corporation