pgsql: Document age(xid) and mxid_age(xid).

From: Nathan Bossart <nathan(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Document age(xid) and mxid_age(xid).
Date: 2025-07-01 15:37:52
Message-ID: E1uWd3Q-004CqG-2T@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Document age(xid) and mxid_age(xid).

These functions have been around for some time, but commits
48b5aa3143 and 15afb7d61c were only back-patched to v16. Let's
back-patch them to all supported versions now.

Reported-by: David Rowley <dgrowleyml(at)gmail(dot)com> (commit 48b5aa3143)
Author: Bruce Momjian <bruce(at)momjian(dot)us> (commit 48b5aa3143)
Co-authored-by: Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com> (commit 15afb7d61c)
Reviewed-by: Michael Paquier <michael(at)paquier(dot)xyz> (commit 15afb7d61c)
Reviewed-by: Robert Haas <robertmhaas(at)gmail(dot)com>
Reviewed-by: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
Discussion: https://postgr.es/m/aGMCxHxLfeMdQk8m%40nathan
Backpatch-through: 13-15

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/4bcca5ff829ba20c2d4a707c02a8e602b9ad5871

Modified Files
--------------
doc/src/sgml/func.sgml | 31 ++++++++++++++++++++++++++++++-
1 file changed, 30 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2025-07-01 16:09:12 pgsql: Make safeguard against incorrect flags for fsync more portable.
Previous Message Jeff Davis 2025-07-01 14:51:39 pgsql: Remove provider field from pg_locale_t.