@@ -27,7 +27,7 @@ UPDATE [ ONLY ] <replaceable class="parameter">table_name</replaceable> [ * ] [
27
27
( <replaceable class="parameter">column_name</replaceable> [, ...] ) = [ ROW ] ( { <replaceable class="parameter">expression</replaceable> | DEFAULT } [, ...] ) |
28
28
( <replaceable class="parameter">column_name</replaceable> [, ...] ) = ( <replaceable class="parameter">sub-SELECT</replaceable> )
29
29
} [, ...]
30
- [ FROM <replaceable class="parameter">from_list </replaceable> ]
30
+ [ FROM <replaceable class="parameter">from_item </replaceable> [, ...] ]
31
31
[ WHERE <replaceable class="parameter">condition</replaceable> | WHERE CURRENT OF <replaceable class="parameter">cursor_name</replaceable> ]
32
32
[ RETURNING * | <replaceable class="parameter">output_expression</replaceable> [ [ AS ] <replaceable class="parameter">output_name</replaceable> ] [, ...] ]
33
33
</synopsis>
@@ -167,17 +167,17 @@ UPDATE [ ONLY ] <replaceable class="parameter">table_name</replaceable> [ * ] [
167
167
</varlistentry>
168
168
169
169
<varlistentry>
170
- <term><replaceable class="parameter">from_list </replaceable></term>
170
+ <term><replaceable class="parameter">from_item </replaceable></term>
171
171
<listitem>
172
172
<para>
173
- A list of table expressions, allowing columns from other tables
174
- to appear in the <literal>WHERE</literal> condition and the update
175
- expressions. This is similar to the list of tables that can be
176
- specified in the <xref linkend ="sql-from"
177
- endterm="sql-from-title"/> of a <command>SELECT</command>
178
- statement. Note that the target table must not appear in the
179
- <replaceable>from_list</replaceable>, unless you intend a self-join (in which
180
- case it must appear with an alias in the <replaceable>from_list </replaceable>).
173
+ A table expression allowing columns from other tables to appear in
174
+ the <literal>WHERE</literal> condition and update expressions. This
175
+ uses the same syntax as the <xref linkend="sql-from"
176
+ endterm ="sql-from-title"/> of a <command>SELECT</command> statement;
177
+ for example, an alias for the table name can be specified. Do not
178
+ repeat the target table as a <replaceable>from_item</replaceable>
179
+ unless you intend a self-join (in which case it must appear with
180
+ an alias in the <replaceable>from_item </replaceable>).
181
181
</para>
182
182
</listitem>
183
183
</varlistentry>
@@ -267,7 +267,7 @@ UPDATE <replaceable class="parameter">count</replaceable>
267
267
<para>
268
268
When a <literal>FROM</literal> clause is present, what essentially happens
269
269
is that the target table is joined to the tables mentioned in the
270
- <replaceable>from_list </replaceable>, and each output row of the join
270
+ <replaceable>from_item </replaceable> list , and each output row of the join
271
271
represents an update operation for the target table. When using
272
272
<literal>FROM</literal> you should ensure that the join
273
273
produces at most one output row for each row to be modified. In
0 commit comments