pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nathan Bossart <nathan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add percentage of available IDs to wraparound warnings.
Date: Fri, 20 Mar 2026 19:16:30 +0000
Message-ID: <E1w3fKf-000gcR-1Q@gemulon.postgresql.org> (raw)

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

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(+)



Message-ID: <E1w3fKf-000gcR-1Q@gemulon.postgresql.org>
Permalink:  ../E1w3fKf-000gcR-1Q@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1w3fKf-000gcR-1Q@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: nathan@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Add percentage of available IDs to wraparound warnings.
  In-Reply-To: <E1w3fKf-000gcR-1Q@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox