amcheck: Remove unused IndexCheckableCallback typedef

From: Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: amcheck: Remove unused IndexCheckableCallback typedef
Date: 2025-07-04 07:50:26
Message-ID: e1ea4e14-3b21-4e01-a5f2-0686883265df@oss.nttdata.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

Commit d70b17636dd introduced the IndexCheckableCallback typedef for
a callback function, but it appears to be unused.

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.

The attached patch removes this unused typedef to clean up the dead code.
Thoughts?

Regards,

[1] https://postgr.es/m/45AC9B0A-2B45-40EE-B08F-BDCF5739D1E1@yandex-team.ru

--
Fujii Masao
NTT DATA Japan Corporation

Attachment Content-Type Size
v1-0001-amcheck-Remove-unused-IndexCheckableCallback-type.patch text/plain 1.1 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Álvaro Herrera 2025-07-04 08:10:32 Re: Inconsistent LSN format in pg_waldump output
Previous Message Nazir Bilal Yavuz 2025-07-04 07:33:08 Re: Explicitly enable meson features in CI