Re: enhance wraparound warnings - Mailing list pgsql-hackers

From wenhui qiu
Subject Re: enhance wraparound warnings
Date
Msg-id CAGjGUALHrAWK4jDK9xvwBHg-5Qw9bZF9yqNHHAXcVQrce8KJtw@mail.gmail.com
Whole thread
In response to Re: enhance wraparound warnings  (Nathan Bossart <nathandbossart@gmail.com>)
Responses Re: enhance wraparound warnings
List pgsql-hackers
Hi Nathan Bossart 
> Barring additional feedback or objections, I'm planning to commit this in
> the next week or two.
Thank you for working on this. The path LGTM,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

On Sat, Mar 7, 2026 at 6:15 AM Nathan Bossart <nathandbossart@gmail.com> wrote:
Barring additional feedback or objections, I'm planning to commit this in
the next week or two.

--
nathan


pgsql-hackers by date:

Previous
From: Akshay Joshi
Date:
Subject: Re: [PATCH] Add pg_get_database_ddl() function to reconstruct CREATE DATABASE statement
Next
From: Andrew Dunstan
Date:
Subject: Re: Emitting JSON to file using COPY TO