]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Add percentage of available IDs to wraparound warnings.
authorNathan Bossart <nathan@postgresql.org>
Fri, 20 Mar 2026 19:15:33 +0000 (14:15 -0500)
committerNathan Bossart <nathan@postgresql.org>
Fri, 20 Mar 2026 19:15:33 +0000 (14:15 -0500)
commite646450e609d690ced30d9e8e3fdc27ee6c3ff4c
tree6cd87d09ded6450e492e20373dd2b5057459ae57
parent733f20df53721b5be0481afe9f26b9c2a4d51712
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
doc/src/sgml/maintenance.sgml
src/backend/access/transam/multixact.c
src/backend/access/transam/varsup.c