Add percentage of available IDs to wraparound warnings.
Nathan Bossart <nathan@postgresql.org>
Add percentage of available IDs to wraparound warnings. This commit adds DETAIL messages to the existing wraparound WARNINGs that include the percentage of transaction/multixact IDs that remain available for use. The hope is that this more clearly expresses the urgency of the situation. Reviewed-by: Chao Li <li.evan.chao@gmail.com> Reviewed-by: Shinya Kato <shinya11.kato@gmail.com> Reviewed-by: wenhui qiu <qiuwenhuifx@gmail.com> Discussion: https://postgr.es/m/aRdhSSFb9zZH_0zc%40nathan
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/maintenance.sgml | modified | +1 −0 |
| src/backend/access/transam/multixact.c | modified | +8 −0 |
| src/backend/access/transam/varsup.c | modified | +8 −0 |
Discussion
- enhance wraparound warnings 19 messages · 2025-11-14 → 2026-06-26