mirror of
https://github.com/postgres/postgres.git
synced 2025-10-19 15:49:24 +03:00
Extend near-wraparound hints to include replication slots
Author: Feike Steenbergen Reviewed-by: Michael Paquier
This commit is contained in:
@@ -655,7 +655,8 @@ vacuum_set_xid_limits(Relation rel,
|
||||
{
|
||||
ereport(WARNING,
|
||||
(errmsg("oldest xmin is far in the past"),
|
||||
errhint("Close open transactions soon to avoid wraparound problems.")));
|
||||
errhint("Close open transactions soon to avoid wraparound problems.\n"
|
||||
"You might also need to commit or roll back old prepared transactions, or drop stale replication slots.")));
|
||||
limit = *oldestXmin;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user