mirror of
https://github.com/postgres/postgres.git
synced 2025-06-11 20:28:21 +03:00
Move remaining code from tqual.[ch] to heapam.h / heapam_visibility.c.
Given these routines are heap specific, and that there will be more generic visibility support in via table AM, it makes sense to move the prototypes to heapam.h (routines like HeapTupleSatisfiesVacuum will not be exposed in a generic fashion, because they are too storage specific). Similarly, the code in tqual.c is specific to heap, so moving it into access/heap/ makes sense. Author: Andres Freund Discussion: https://postgr.es/m/20180703070645.wchpu5muyto5n647@alap3.anarazel.de
This commit is contained in:
@ -1955,7 +1955,7 @@ asyncQueueProcessPageEntries(volatile QueuePosition *current,
|
||||
* Note that we must test XidInMVCCSnapshot before we test
|
||||
* TransactionIdDidCommit, else we might return a message from
|
||||
* a transaction that is not yet visible to snapshots; compare
|
||||
* the comments at the head of tqual.c.
|
||||
* the comments at the head of heapam_visibility.c.
|
||||
*
|
||||
* Also, while our own xact won't be listed in the snapshot,
|
||||
* we need not check for TransactionIdIsCurrentTransactionId
|
||||
|
Reference in New Issue
Block a user