@@ -1003,12 +1003,12 @@ table_index_fetch_end(struct IndexFetchTableData *scan)
1003
1003
* that tuple. Index AMs can use that to avoid returning that tid in future
1004
1004
* searches.
1005
1005
*
1006
- * The difference between this function and table_fetch_row_version is that
1007
- * this function returns the currently visible version of a row if the AM
1008
- * supports storing multiple row versions reachable via a single index entry
1009
- * (like heap's HOT). Whereas table_fetch_row_version only evaluates the
1010
- * tuple exactly at `tid`. Outside of index entry ->table tuple lookups,
1011
- * table_tuple_fetch_row_version is what's usually needed.
1006
+ * The difference between this function and table_tuple_fetch_row_version()
1007
+ * is that this function returns the currently visible version of a row if
1008
+ * the AM supports storing multiple row versions reachable via a single index
1009
+ * entry (like heap's HOT). Whereas table_tuple_fetch_row_version() only
1010
+ * evaluates the tuple exactly at `tid`. Outside of index entry ->table tuple
1011
+ * lookups, table_tuple_fetch_row_version() is what's usually needed.
1012
1012
*/
1013
1013
static inline bool
1014
1014
table_index_fetch_tuple (struct IndexFetchTableData * scan ,
@@ -1062,8 +1062,9 @@ table_tuple_fetch_row_version(Relation rel,
1062
1062
/*
1063
1063
* Verify that `tid` is a potentially valid tuple identifier. That doesn't
1064
1064
* mean that the pointed to row needs to exist or be visible, but that
1065
- * attempting to fetch the row (e.g. with table_get_latest_tid() or
1066
- * table_fetch_row_version()) should not error out if called with that tid.
1065
+ * attempting to fetch the row (e.g. with table_tuple_get_latest_tid() or
1066
+ * table_tuple_fetch_row_version()) should not error out if called with that
1067
+ * tid.
1067
1068
*
1068
1069
* `scan` needs to have been started via table_beginscan().
1069
1070
*/
@@ -1192,8 +1193,8 @@ table_tuple_complete_speculative(Relation rel, TupleTableSlot *slot,
1192
1193
/*
1193
1194
* Insert multiple tuples into a table.
1194
1195
*
1195
- * This is like table_insert (), but inserts multiple tuples in one
1196
- * operation. That's often faster than calling table_insert () in a loop,
1196
+ * This is like table_tuple_insert (), but inserts multiple tuples in one
1197
+ * operation. That's often faster than calling table_tuple_insert () in a loop,
1197
1198
* because e.g. the AM can reduce WAL logging and page locking overhead.
1198
1199
*
1199
1200
* Except for taking `nslots` tuples as input, and an array of TupleTableSlots
0 commit comments