Re: fix deprecation mention for age() and mxid_age()
Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
From: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2024-11-19T06:52:40Z
Lists: pgsql-hackers
Hi, On Tue, Nov 19, 2024 at 10:09:57AM +0900, Michael Paquier wrote: > On Mon, Nov 18, 2024 at 08:11:57AM +0000, Bertrand Drouvot wrote: > > Also it looks like that for PG 16, 7471230cc6, did put the functions description > > in the "Control Data Functions". That looks unintentional too, so moving it to > > "Transaction ID and Snapshot Information Functions" section instead. > > > > Please find attached the 3 patches. > > Even with the monitoring query argument left aside, I agree that there > are more upsides to not list them as deprecated for now, based on the > reason that xid is still a data type in some catalogs, like pg_class's > relfrozenxid and relminmxid. Yeah, and those are most probably the main inputs for age(). In addition, datminmxid and relminmxid are also xid and most probably the main inputs for mxid_age(). > In short, your suggestion makes sense to me. Thanks for the feedback! Regards, -- Bertrand Drouvot PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com
Commits
-
doc: Fix section of functions age(xid) and mxid_age(xid)
- 1c99d8186fbf 16.7 landed
- 6fc3c587b855 17.3 landed
- 15afb7d61c14 18.0 landed