aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2023-11-24 14:36:00 -0500
committerBruce Momjian <bruce@momjian.us>2023-11-24 14:36:00 -0500
commit48b5aa31437a161356fb8ec820b81b7b67cf04c2 (patch)
tree5d4979cd18751633dd8074bdf2c5fa8d9097e9ca
parentd053a879bb360fb72c46de2a013e741d3f7c9e8d (diff)
downloadpostgresql-48b5aa31437a161356fb8ec820b81b7b67cf04c2.tar.gz
postgresql-48b5aa31437a161356fb8ec820b81b7b67cf04c2.zip
doc: add docs for age(xid) and mxid_age(xid)
Reported-by: David Rowley Discussion: https://postgr.es/m/CAKJS1f_OQpz7rpe-KJmskVxbU06buiXbfonxG3JLB+nGCJ5E=g@mail.gmail.com Backpatch-through: 16
-rw-r--r--doc/src/sgml/func.sgml28
1 files changed, 28 insertions, 0 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index 93f068edcf9..71713f471d7 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -25863,6 +25863,34 @@ SELECT collation for ('foo' COLLATE "de_DE");
<row>
<entry role="func_table_entry"><para role="func_signature">
<indexterm>
+ <primary>age</primary>
+ </indexterm>
+ <function>age</function> ( <type>xid</type> )
+ <returnvalue>integer</returnvalue>
+ </para>
+ <para>
+ Returns the number of transactions between the supplied
+ transaction id and the current transaction counter.
+ </para></entry>
+ </row>
+
+ <row>
+ <entry role="func_table_entry"><para role="func_signature">
+ <indexterm>
+ <primary>mxid_age</primary>
+ </indexterm>
+ <function>mxid_age</function> ( <type>xid</type> )
+ <returnvalue>integer</returnvalue>
+ </para>
+ <para>
+ Returns the number of multixacts IDs between the supplied
+ multixact ID and the current multixacts counter.
+ </para></entry>
+ </row>
+
+ <row>
+ <entry role="func_table_entry"><para role="func_signature">
+ <indexterm>
<primary>txid_current</primary>
</indexterm>
<function>txid_current</function> ()