Re: enhance wraparound warnings - Mailing list pgsql-hackers

From Bharath Rupireddy
Subject Re: enhance wraparound warnings
Date
Msg-id CALj2ACWYXgKqLdVw4g=3OnGzaiBuHRAreWyod0kJa5_QbMgRDQ@mail.gmail.com
Whole thread
In response to Re: enhance wraparound warnings  (Fujii Masao <masao.fujii@gmail.com>)
Responses Re: enhance wraparound warnings
List pgsql-hackers
Hi,

On Sat, Jun 20, 2026 at 4:54 AM Fujii Masao <masao.fujii@gmail.com> wrote:
>
> While making these changes, I also noticed that although commit
> edee0c621de updated the runtime XID wraparound messages to use
> "transaction IDs", the corresponding examples and text in
> maintenance.sgml still use the older "XID" terminology. I therefore
> created an additional patch (0002) to update the documentation to
> match the current messages. I think this should be backpatched to v17.
>
> Thought?

I happened to quickly review these patches. TBH, "transaction ID
space" and "MultiXactId space" seem a bit confusing because of the
word "space" - it reads fine without it. Is there a specific reason
for this wording?

Also, why not use "multixact IDs" instead of "MultiXactId"? The latter
reads like an internal structure name or such that might confuse users
reading the docs or error messages.

How about something like the following?

+ errdetail("Approximately %.2f%% of multixact IDs remain before wraparound.",
+ errdetail("Approximately %.2f%% of transaction IDs remain before wraparound.",

--
Bharath Rupireddy
Amazon Web Services: https://aws.amazon.com



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Improve pg_stat_statements scalability
Next
From: Bharath Rupireddy
Date:
Subject: Re: psql: add tab completion for subscription wal_receiver_timeout