From: Michael Paquier Date: Tue, 6 Aug 2024 07:27:38 +0000 (+0900) Subject: Remove unnecessary declaration of heapam_methods X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=8771298605a6d81861634ed387a6fc7ed496fa61;p=users%2Fc2main%2Fpostgres.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 6f8b1b7929..e28047c201 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