diff options
author | Fujii Masao <fujii@postgresql.org> | 2025-07-04 23:25:40 +0900 |
---|---|---|
committer | Fujii Masao <fujii@postgresql.org> | 2025-07-04 23:25:40 +0900 |
commit | d64d68fddf9802dea4cc5be8a491937c3aefefa0 (patch) | |
tree | dedc0b3ac9b6debbafd1c7ba1dbc7fdaff9fe5e2 /contrib/amcheck | |
parent | 5a6c39b6df3313e5c2d3aed714a56f5a5c6be3f2 (diff) | |
download | postgresql-master.tar.gz postgresql-master.zip |
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
Diffstat (limited to 'contrib/amcheck')
-rw-r--r-- | contrib/amcheck/verify_common.h | 3 |
1 files changed, 1 insertions, 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, |