mirror of
https://github.com/postgres/postgres.git
synced 2025-07-02 09:02:37 +03:00
Fix comments related to table AMs
Incorrect function names were referenced. As this fixes some portions of tableam.h, that is mentioned in the docs as something to look at when implementing a table AM, backpatch down to 12 where this has been introduced. Author: Hironobu Suzuki Discussion: https://postgr.es/m/8fe6d672-28dd-3f1d-7aed-ac2f6d599d3f@interdb.jp Backpatch-through: 12
This commit is contained in:
@ -1676,9 +1676,9 @@ heap_get_latest_tid(TableScanDesc sscan,
|
||||
TransactionId priorXmax;
|
||||
|
||||
/*
|
||||
* table_get_latest_tid verified that the passed in tid is valid. Assume
|
||||
* that t_ctid links are valid however - there shouldn't be invalid ones
|
||||
* in the table.
|
||||
* table_tuple_get_latest_tid() verified that the passed in tid is valid.
|
||||
* Assume that t_ctid links are valid however - there shouldn't be invalid
|
||||
* ones in the table.
|
||||
*/
|
||||
Assert(ItemPointerIsValid(tid));
|
||||
|
||||
|
Reference in New Issue
Block a user