diff options
author | Peter Geoghegan <pg@bowt.ie> | 2019-05-13 15:53:39 -0700 |
---|---|---|
committer | Peter Geoghegan <pg@bowt.ie> | 2019-05-13 15:53:39 -0700 |
commit | ae7291acbc5ae4c3751615177fc256f9f3399403 (patch) | |
tree | 8a67a1936fe81aa9d5e5b1c4b023f7993d6b9437 /src/backend/access/heap/heapam.c | |
parent | 08ca9d7feca890e97f77ef1fde02d7542a54ac5e (diff) | |
download | postgresql-ae7291acbc5ae4c3751615177fc256f9f3399403.tar.gz |
Standardize ItemIdData terminology.
The term "item pointer" should not be used to refer to ItemIdData
variables, since that is needlessly ambiguous. Only
ItemPointerData/ItemPointer variables should be called item pointers.
To fix, establish the convention that ItemIdData variables should always
be referred to either as "item identifiers" or "line pointers". The
term "item identifier" already predominates in docs and translatable
messages, and so should be the preferred alternative there.
Discussion: https://postgr.es/m/CAH2-Wz=c=MZQjUzde3o9+2PLAPuHTpVZPPdYxN=E4ndQ2--8ew@mail.gmail.com
Diffstat (limited to 'src/backend/access/heap/heapam.c')
-rw-r--r-- | src/backend/access/heap/heapam.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/heap/heapam.c b/src/backend/access/heap/heapam.c index 6f26ddac5f..d97cb4c642 100644 --- a/src/backend/access/heap/heapam.c +++ b/src/backend/access/heap/heapam.c @@ -7163,7 +7163,7 @@ log_heap_clean(Relation reln, Buffer buffer, * arrays need not be stored too. Note that even if all three arrays are * empty, we want to expose the buffer as a candidate for whole-page * storage, since this record type implies a defragmentation operation - * even if no item pointers changed state. + * even if no line pointers changed state. */ if (nredirected > 0) XLogRegisterBufData(0, (char *) redirected, @@ -7724,7 +7724,7 @@ heap_xlog_clean(XLogReaderState *record) nunused = (end - nowunused); Assert(nunused >= 0); - /* Update all item pointers per the record, and repair fragmentation */ + /* Update all line pointers per the record, and repair fragmentation */ heap_page_prune_execute(buffer, redirected, nredirected, nowdead, ndead, |