@@ -27184,6 +27184,31 @@ SELECT currval(pg_get_serial_sequence('sometable', 'id'));
27184
27184
details.
27185
27185
</para></entry>
27186
27186
</row>
27187
+
27188
+ <row>
27189
+ <entry role="func_table_entry"><para role="func_signature">
27190
+ <indexterm>
27191
+ <primary>pg_get_multixact_members</primary>
27192
+ </indexterm>
27193
+ <function>pg_get_multixact_members</function> ( <parameter>multixid</parameter> <type>xid</type> )
27194
+ <returnvalue>setof record</returnvalue>
27195
+ ( <parameter>xid</parameter> <type>xid</type>,
27196
+ <parameter>mode</parameter> <type>text</type> )
27197
+ </para>
27198
+ <para>
27199
+ Returns the transaction ID and lock mode for each member of the
27200
+ specified multixact ID. The lock modes <literal>forupd</literal>,
27201
+ <literal>fornokeyupd</literal>, <literal>sh</literal>, and
27202
+ <literal>keysh</literal> correspond to the row-level locks
27203
+ <literal>FOR UPDATE</literal>, <literal>FOR NO KEY UPDATE</literal>,
27204
+ <literal>FOR SHARE</literal>, and <literal>FOR KEY SHARE</literal>,
27205
+ respectively, as described in <xref linkend="locking-rows"/>. Two
27206
+ additional modes are specific to multixacts:
27207
+ <literal>nokeyupd</literal>, used by updates that do not modify key
27208
+ columns, and <literal>upd</literal>, used by updates or deletes that
27209
+ modify key columns.
27210
+ </para></entry>
27211
+ </row>
27187
27212
</tbody>
27188
27213
</tgroup>
27189
27214
</table>
@@ -27192,7 +27217,8 @@ SELECT currval(pg_get_serial_sequence('sometable', 'id'));
27192
27217
The internal transaction ID type <type>xid</type> is 32 bits wide and
27193
27218
wraps around every 4 billion transactions. However,
27194
27219
the functions shown in <xref linkend="functions-pg-snapshot"/>, except
27195
- <function>age</function> and <function>mxid_age</function>, use a
27220
+ <function>age</function>, <function>mxid_age</function>, and
27221
+ <function>pg_get_multixact_members</function>, use a
27196
27222
64-bit type <type>xid8</type> that does not wrap around during the life
27197
27223
of an installation and can be converted to <type>xid</type> by casting if
27198
27224
required; see <xref linkend="transaction-id"/> for details.
0 commit comments