mirror of
https://github.com/postgres/postgres.git
synced 2025-11-10 17:42:29 +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:
@@ -1221,7 +1221,7 @@ XLogWalRcvSendHSFeedback(bool immed)
|
||||
* everything else has been checked.
|
||||
*/
|
||||
if (hot_standby_feedback)
|
||||
xmin = GetOldestXmin(NULL, false);
|
||||
xmin = GetOldestXmin(NULL, PROCARRAY_FLAGS_DEFAULT);
|
||||
else
|
||||
xmin = InvalidTransactionId;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user