mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Refactor GetOldestXmin() to use flags
Replace ignoreVacuum parameter with more flexible flags. Author: Eiji Seki Review: Haribabu Kommi
This commit is contained in:
@ -70,7 +70,7 @@ statapprox_heap(Relation rel, output_type *stat)
|
||||
TransactionId OldestXmin;
|
||||
uint64 misc_count = 0;
|
||||
|
||||
OldestXmin = GetOldestXmin(rel, true);
|
||||
OldestXmin = GetOldestXmin(rel, PROCARRAY_FLAGS_VACUUM);
|
||||
bstrategy = GetAccessStrategy(BAS_BULKREAD);
|
||||
|
||||
nblocks = RelationGetNumberOfBlocks(rel);
|
||||
|
Reference in New Issue
Block a user