summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Paquier2024-08-06 07:27:38 +0000
committerMichael Paquier2024-08-06 07:27:38 +0000
commit8771298605a6d81861634ed387a6fc7ed496fa61 (patch)
treeef403fab179f0a6779cb357ed2f053110154c600
parente9931bfb7515b253cc26ff495ee917acff8995d0 (diff)
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
-rw-r--r--src/backend/access/heap/heapam_handler.c2
1 files changed, 0 insertions, 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