Re: fix deprecation mention for age() and mxid_age() - Mailing list pgsql-hackers

From Bertrand Drouvot
Subject Re: fix deprecation mention for age() and mxid_age()
Date
Msg-id Zzw1uMeWNSYyDeqd@ip-10-97-1-34.eu-west-3.compute.internal
Whole thread Raw
List 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



pgsql-hackers by date:

Previous
From: Will Mortensen
Date:
Subject: README.tuplock and SHARE lock
Next
From: vignesh C
Date:
Subject: Re: Skip collecting decoded changes of already-aborted transactions