mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +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:
@ -1119,7 +1119,7 @@ SnapBuildProcessRunningXacts(SnapBuild *builder, XLogRecPtr lsn, xl_running_xact
|
||||
* NB: We only increase xmax when a catalog modifying transaction commits
|
||||
* (see SnapBuildCommitTxn). Because of this, xmax can be lower than
|
||||
* xmin, which looks odd but is correct and actually more efficient, since
|
||||
* we hit fast paths in tqual.c.
|
||||
* we hit fast paths in heapam_visibility.c.
|
||||
*/
|
||||
builder->xmin = running->oldestRunningXid;
|
||||
|
||||
|
Reference in New Issue
Block a user