mirror of
https://github.com/postgres/postgres.git
synced 2025-07-15 19:21:59 +03:00
Rephrase references to "time qualification".
Now that the relevant code has, for other reasons, moved out of tqual.[ch], it seems time to refer to visiblity rather than time qualification. Author: Andres Freund Discussion: https://postgr.es/m/20180703070645.wchpu5muyto5n647@alap3.anarazel.de
This commit is contained in:
@ -1700,7 +1700,7 @@ heap_fetch(Relation relation,
|
||||
tuple->t_tableOid = RelationGetRelid(relation);
|
||||
|
||||
/*
|
||||
* check time qualification of tuple, then release lock
|
||||
* check tuple visibility, then release lock
|
||||
*/
|
||||
valid = HeapTupleSatisfiesVisibility(tuple, snapshot, buffer);
|
||||
|
||||
@ -2020,8 +2020,8 @@ heap_get_latest_tid(Relation relation,
|
||||
}
|
||||
|
||||
/*
|
||||
* Check time qualification of tuple; if visible, set it as the new
|
||||
* result candidate.
|
||||
* Check tuple visibility; if visible, set it as the new result
|
||||
* candidate.
|
||||
*/
|
||||
valid = HeapTupleSatisfiesVisibility(&tp, snapshot, buffer);
|
||||
CheckForSerializableConflictOut(valid, relation, &tp, buffer, snapshot);
|
||||
|
@ -1453,8 +1453,8 @@ HeapTupleIsSurelyDead(HeapTuple htup, TransactionId OldestXmin)
|
||||
* It's easy to check just infomask bits if the locker is not a multi; but
|
||||
* otherwise we need to verify that the updating transaction has not aborted.
|
||||
*
|
||||
* This function is here because it follows the same time qualification rules
|
||||
* laid out at the top of this file.
|
||||
* This function is here because it follows the same visibility rules laid out
|
||||
* at the top of this file.
|
||||
*/
|
||||
bool
|
||||
HeapTupleHeaderIsOnlyLocked(HeapTupleHeader tuple)
|
||||
|
Reference in New Issue
Block a user