1
0
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:
Simon Riggs
2017-12-29 14:01:25 +00:00
parent 0aa1d489ea
commit 2958a672b1
4 changed files with 19 additions and 16 deletions

View File

@@ -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;
}