Re: enhance wraparound warnings - Mailing list pgsql-hackers

From Fujii Masao
Subject Re: enhance wraparound warnings
Date
Msg-id CAHGQGwHHPzYw2qbtwdkmyC+3pLW1aT1p6gUKx4WWhANiJhob2g@mail.gmail.com
Whole thread
In response to Re: enhance wraparound warnings  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
Responses Re: enhance wraparound warnings
List pgsql-hackers
On Fri, Jun 26, 2026 at 2:19 AM Bharath Rupireddy
<bharath.rupireddyforpostgres@gmail.com> wrote:
> The use there is referring to the whole set of transaction IDs and how
> one can visualize the use of them - so "XID space" in that context
> seems fine to me.
>
> But the wraparound warnings read better when they say how many more
> transaction IDs are left:
>
> + errdetail("Approximately %.2f%% of MultiXactIds remain before wraparound.",
> + errdetail("Approximately %.2f%% of transaction IDs remain before wraparound.",

Okay, I've updated the patches as suggested. The updated patches are attached.

Regards,

--
Fujii Masao

Attachment

pgsql-hackers by date:

Previous
From: Jacob Champion
Date:
Subject: Re: REVOKE's CASCADE protection doesn't work with INHERITed table owners
Next
From: Henson Choi
Date:
Subject: Re: [PATCH] DISTINCT in plain aggregate window functions