diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 2cd93163b75..13e1642192a 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -27009,6 +27009,34 @@ SELECT currval(pg_get_serial_sequence('sometable', 'id')); + + + + age + + age ( xid ) + integer + + + Returns the number of transactions between the supplied + transaction id and the current transaction counter. + + + + + + + mxid_age + + mxid_age ( xid ) + integer + + + Returns the number of multixacts IDs between the supplied + multixact ID and the current multixacts counter. + + + @@ -27153,7 +27181,8 @@ SELECT currval(pg_get_serial_sequence('sometable', 'id')); The internal transaction ID type xid is 32 bits wide and wraps around every 4 billion transactions. However, - the functions shown in use a + the functions shown in , except + age and mxid_age, use a 64-bit type xid8 that does not wrap around during the life of an installation and can be converted to xid by casting if required; see for details. @@ -27235,33 +27264,6 @@ SELECT currval(pg_get_serial_sequence('sometable', 'id')); - - - - age - - age ( xid ) - integer - - - Returns the number of transactions between the supplied - transaction id and the current transaction counter. - - - - - - - mxid_age - - mxid_age ( xid ) - integer - - - Returns the number of multixacts IDs between the supplied - multixact ID and the current multixacts counter. - -