From: Michael Paquier Date: Tue, 6 Aug 2024 07:27:38 +0000 (+0900) Subject: Remove unnecessary declaration of heapam_methods X-Git-Tag: REL_18_BETA1~2201 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8771298605a6d81861634ed387a6fc7ed496fa61;p=thirdparty%2Fpostgresql.git 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: https://postgr.es/m/ME0P300MB04459456D5C4E70D48116896B6B12@ME0P300MB0445.AUSP300.PROD.OUTLOOK.COM --- 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