postgres.git / summary / log / commit / refs
commit 5ad49322e50459444b201e624d5df706751c9d41
Author: Michael Paquier <michael@paquier.xyz>
Date: Mon Nov 27 23:40:08 2023 +0000
First released in: 17.0
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 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 */
[parent: 14f2f9eb1a15]