pgsql: Add percentage of available IDs to wraparound warnings.
pgsql: 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 Reviewed-by: Shinya Kato Reviewed-by: wenhui qiu Discussion: https://postgr.es/m/aRdhSSFb9zZH_0zc%40nathan Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/e646450e609d690ced30d9e8e3fdc27ee6c3ff4c Modified Files -------------- doc/src/sgml/maintenance.sgml | 1 + src/backend/access/transam/multixact.c | 8 ++++++++ src/backend/access/transam/varsup.c | 8 ++++++++ 3 files changed, 17 insertions(+)