mirror of
https://github.com/postgres/postgres.git
synced 2025-06-16 06:01:02 +03:00
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
This commit is contained in:
@ -25860,6 +25860,34 @@ SELECT collation for ('foo' COLLATE "de_DE");
|
|||||||
</thead>
|
</thead>
|
||||||
|
|
||||||
<tbody>
|
<tbody>
|
||||||
|
<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>
|
<row>
|
||||||
<entry role="func_table_entry"><para role="func_signature">
|
<entry role="func_table_entry"><para role="func_signature">
|
||||||
<indexterm>
|
<indexterm>
|
||||||
|
Reference in New Issue
Block a user