summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDean Rasheed2024-03-17 14:48:39 +0000
committerDean Rasheed2024-03-17 14:48:39 +0000
commit7eb9a8201890f3b208fd4c109a5b08bf139b692a (patch)
tree1c58c89750328d28d3943657e47c2924883d3d88
parentc649fa24a42ba89bf5460c7110e4fc8eeca65959 (diff)
Fix PDF doc generation.
Commit c649fa24a4 broke PDF generation, due to a misplaced id attribute. Per buildfarm member crake.
-rw-r--r--doc/src/sgml/func.sgml4
-rw-r--r--doc/src/sgml/ref/merge.sgml17
2 files changed, 11 insertions, 10 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index ebb984a994e..3c52d90d3ab 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -22453,11 +22453,11 @@ SELECT count(*) FROM sometable;
<tbody>
<row>
- <entry role="func_table_entry"><para role="func_signature">
+ <entry id="merge-action" role="func_table_entry"><para role="func_signature">
<indexterm>
<primary>merge_action</primary>
</indexterm>
- <function id="merge_action">merge_action</function> ( )
+ <function>merge_action</function> ( )
<returnvalue>text</returnvalue>
</para>
<para>
diff --git a/doc/src/sgml/ref/merge.sgml b/doc/src/sgml/ref/merge.sgml
index 71feb6634f5..44e5ec080d2 100644
--- a/doc/src/sgml/ref/merge.sgml
+++ b/doc/src/sgml/ref/merge.sgml
@@ -101,12 +101,13 @@ DELETE
The optional <literal>RETURNING</literal> clause causes <command>MERGE</command>
to compute and return value(s) based on each row inserted, updated, or
deleted. Any expression using the source or target table's columns, or
- the <xref linkend="merge_action"/> function can be computed. When an
- <command>INSERT</command> or <command>UPDATE</command> action is performed,
- the new values of the target table's columns are used. When a
- <command>DELETE</command> is performed, the old values of the target table's
- columns are used. The syntax of the <literal>RETURNING</literal> list is
- identical to that of the output list of <command>SELECT</command>.
+ the <link linkend="merge-action"><function>merge_action()</function></link>
+ function can be computed. When an <command>INSERT</command> or
+ <command>UPDATE</command> action is performed, the new values of the target
+ table's columns are used. When a <command>DELETE</command> is performed,
+ the old values of the target table's columns are used. The syntax of the
+ <literal>RETURNING</literal> list is identical to that of the output list
+ of <command>SELECT</command>.
</para>
<para>
@@ -462,8 +463,8 @@ DELETE
An expression to be computed and returned by the <command>MERGE</command>
command after each row is changed (whether inserted, updated, or deleted).
The expression can use any columns of the source or target tables, or the
- <xref linkend="merge_action"/> function to return additional information
- about the action executed.
+ <link linkend="merge-action"><function>merge_action()</function></link>
+ function to return additional information about the action executed.
</para>
<para>
Writing <literal>*</literal> will return all columns from the source