diff options
author | Michael Paquier <michael@paquier.xyz> | 2020-07-14 13:17:34 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2020-07-14 13:17:34 +0900 |
commit | 330410ecadfb406c99d08c24efde651e18f653bf (patch) | |
tree | f55451fc6dedb2ce2e96e16c0a26667b347830fd /src/backend/access/heap/heapam.c | |
parent | d3b642ad99e958475bab4592db0341badfacee56 (diff) | |
download | postgresql-330410ecadfb406c99d08c24efde651e18f653bf.tar.gz postgresql-330410ecadfb406c99d08c24efde651e18f653bf.zip |
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
Diffstat (limited to 'src/backend/access/heap/heapam.c')
-rw-r--r-- | src/backend/access/heap/heapam.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/access/heap/heapam.c b/src/backend/access/heap/heapam.c index 3e322bc3efd..f2df64caa2c 100644 --- a/src/backend/access/heap/heapam.c +++ b/src/backend/access/heap/heapam.c @@ -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)); |