From 8771298605a6d81861634ed387a6fc7ed496fa61 Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Tue, 6 Aug 2024 16:27:38 +0900 Subject: [PATCH] Remove unnecessary declaration of heapam_methods This overlaps with the declaration at the end of heapam_handler.c that lists all the callback routines for the heap table AM. Author: Japin Li Discussion: http://postgr.es/m/ME0P300MB04459456D5C4E70D48116896B6B12@ME0P300MB0445.AUSP300.PROD.OUTLOOK.COM --- src/backend/access/heap/heapam_handler.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/backend/access/heap/heapam_handler.c b/src/backend/access/heap/heapam_handler.c index 6f8b1b79298..e28047c201a 100644 --- a/src/backend/access/heap/heapam_handler.c +++ b/src/backend/access/heap/heapam_handler.c @@ -56,8 +56,6 @@ static bool SampleHeapTupleVisible(TableScanDesc scan, Buffer buffer, static BlockNumber heapam_scan_get_blocks_done(HeapScanDesc hscan); -static const TableAmRoutine heapam_methods; - /* ------------------------------------------------------------------------ * Slot related callbacks for heap AM -- 2.39.5