Fix oldest xmin in logical decoding.
Offering: openGaussDev More detail: Fix oldest xmin in logical decoding. Match-id-d652068e86f96a843c7212f959f72c855635a2ed
This commit is contained in:
@ -9237,6 +9237,7 @@ int PostgresMain(int argc, char* argv[], const char* dbname, const char* usernam
|
||||
InvalidTransactionTimeline, ss_need_sync_wait_all);
|
||||
/* quickly set my recent global xmin */
|
||||
u_sess->utils_cxt.RecentGlobalXmin = GetOldestXmin(NULL, true);
|
||||
u_sess->utils_cxt.RecentGlobalCatalogXmin = GetOldestCatalogXmin();
|
||||
}
|
||||
}
|
||||
/* check gtm mode, remote should be false, local cannot be true */
|
||||
|
||||
Reference in New Issue
Block a user