From: Michael Paquier Date: Mon, 27 Nov 2023 23:40:08 +0000 (+0900) Subject: Fix comment in tableam.h about GetHeapamTableAmRoutine() X-Git-Tag: REL_17_BETA1~1388 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=5ad49322e50459444b201e624d5df706751c9d41;p=postgresql.git 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 --- diff --git a/src/include/access/tableam.h b/src/include/access/tableam.h index dbb709b56ce..9ab7201f4de 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 */