postgres.git / summary / log / commit / refs

commit    d64d68fddf9802dea4cc5be8a491937c3aefefa0
Author:   Fujii Masao <fujii@postgresql.org>
Date:     Fri Jul 04 14:25:40 2025 +0000

    amcheck: Remove unused IndexCheckableCallback typedef.
    
    Commit d70b17636dd introduced the IndexCheckableCallback typedef for
    a callback function, but it was never used. This commit removes
    the unused typedef to clean up dead code.
    
    Author: Fujii Masao <masao.fujii@gmail.com>
    Reviewed-by: Andrey Borodin <x4mmm@yandex-team.ru>
    Discussion: https://postgr.es/m/e1ea4e14-3b21-4e01-a5f2-0686883265df@oss.nttdata.com


contrib/amcheck/verify_common.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/contrib/amcheck/verify_common.h b/contrib/amcheck/verify_common.h index e78adb68808..42ef9c20fe2 100644 --- a/contrib/amcheck/verify_common.h +++ b/contrib/amcheck/verify_common.h @@ -16,8 +16,7 @@ #include "utils/relcache.h" #include "miscadmin.h" -/* Typedefs for callback functions for amcheck_lock_relation_and_check */ -typedef void (*IndexCheckableCallback) (Relation index); +/* Typedef for callback function for amcheck_lock_relation_and_check */ typedef void (*IndexDoCheckCallback) (Relation rel, Relation heaprel, void *state, [parent: 5a6c39b6df33]