mirror of
https://github.com/postgres/postgres.git
synced 2025-06-27 23:21:58 +03:00
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
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user