From 5ad49322e50459444b201e624d5df706751c9d41 Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Tue, 28 Nov 2023 08:40:08 +0900 Subject: [PATCH] Fix comment in tableam.h about GetHeapamTableAmRoutine() This routine is located in heapam_handler.c, not tableamapi.c. Issue noted while hacking the area for a different patch. Reviewed-by: Richard Guo Discussion: https://postgr.es/m/ZWQuHltp2KS_0Cct@paquier.xyz --- src/include/access/tableam.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/include/access/tableam.h b/src/include/access/tableam.h index dbb709b56c..9ab7201f4d 100644 --- a/src/include/access/tableam.h +++ b/src/include/access/tableam.h @@ -2095,6 +2095,12 @@ extern void table_block_relation_estimate_size(Relation rel, */ extern const TableAmRoutine *GetTableAmRoutine(Oid amhandler); + +/* ---------------------------------------------------------------------------- + * Functions in heapam_handler.c + * ---------------------------------------------------------------------------- + */ + extern const TableAmRoutine *GetHeapamTableAmRoutine(void); #endif /* TABLEAM_H */