mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +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:
@ -2164,7 +2164,7 @@ invariant_l_offset(BtreeCheckState *state, BTScanInsert key,
|
||||
* Does the invariant hold that the key is less than or equal to a given upper
|
||||
* bound offset item?
|
||||
*
|
||||
* Caller should have verified that upperbound's item pointer is consistent
|
||||
* Caller should have verified that upperbound's line pointer is consistent
|
||||
* using PageGetItemIdCareful() call.
|
||||
*
|
||||
* If this function returns false, convention is that caller throws error due
|
||||
@ -2187,7 +2187,7 @@ invariant_leq_offset(BtreeCheckState *state, BTScanInsert key,
|
||||
* Does the invariant hold that the key is strictly greater than a given lower
|
||||
* bound offset item?
|
||||
*
|
||||
* Caller should have verified that lowerbound's item pointer is consistent
|
||||
* Caller should have verified that lowerbound's line pointer is consistent
|
||||
* using PageGetItemIdCareful() call.
|
||||
*
|
||||
* If this function returns false, convention is that caller throws error due
|
||||
|
Reference in New Issue
Block a user