Re: enhance wraparound warnings - Mailing list pgsql-hackers

From Nathan Bossart
Subject Re: enhance wraparound warnings
Date
Msg-id ab2dGqvlPLoihxBK@nathan
Whole thread Raw
In response to Re: enhance wraparound warnings  (wenhui qiu <qiuwenhuifx@gmail.com>)
List pgsql-hackers
On Mon, Mar 09, 2026 at 08:08:54PM +0800, wenhui qiu wrote:
> Thank you for working on this. The path LGTM,...

Thanks for looking.  Committed.

> ...But I have a small request,There
> are many reasons why the table's age can’t be frozen. Now have a path that
> can report the reason to users(https://commitfest.postgresql.org/patch/6188/).
> Would you be interested in reviewing it? I think we should tell users the
> root cause of why the age can’t be reduced, so they can clearly understand
> where the issue is.I think we should not only tell users that the XID is
> close to wraparound, but also report why this causes the table‘s age to be
> unable to freeze.

Thanks for alerting me to this patch.

-- 
nathan



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Accounting for metapages in genericcostestimate()
Next
From: Tomas Vondra
Date:
Subject: Re: Add GoAway protocol message for graceful but fast server shutdown/switchover