@@ -27,7 +27,7 @@ UPDATE [ ONLY ] <replaceable class="parameter">table_name</replaceable> [ * ] [
2727 ( <replaceable class="parameter">column_name</replaceable> [, ...] ) = [ ROW ] ( { <replaceable class="parameter">expression</replaceable> | DEFAULT } [, ...] ) |
2828 ( <replaceable class="parameter">column_name</replaceable> [, ...] ) = ( <replaceable class="parameter">sub-SELECT</replaceable> )
2929 } [, ...]
30- [ FROM <replaceable class="parameter">from_list </replaceable> ]
30+ [ FROM <replaceable class="parameter">from_item </replaceable> [, ...] ]
3131 [ WHERE <replaceable class="parameter">condition</replaceable> | WHERE CURRENT OF <replaceable class="parameter">cursor_name</replaceable> ]
3232 [ RETURNING * | <replaceable class="parameter">output_expression</replaceable> [ [ AS ] <replaceable class="parameter">output_name</replaceable> ] [, ...] ]
3333</synopsis>
@@ -164,17 +164,17 @@ UPDATE [ ONLY ] <replaceable class="parameter">table_name</replaceable> [ * ] [
164164 </varlistentry>
165165
166166 <varlistentry>
167- <term><replaceable class="parameter">from_list </replaceable></term>
167+ <term><replaceable class="parameter">from_item </replaceable></term>
168168 <listitem>
169169 <para>
170- Alist of tableexpressions, allowing columns from other tables
171- to appear in the <literal>WHERE</literal> condition andthe update
172- expressions. This is similar to thelist of tables that can be
173- specified in the <xref linkend ="sql-from"
174- endterm="sql-from-title"/> of a <command>SELECT</command>
175- statement. Note that the target tablemust not appear in the
176- <replaceable>from_list</replaceable>, unless you intend a self-join (in which
177- case it must appear with an alias in the <replaceable>from_list </replaceable>).
170+ A tableexpression allowing columns from other tables to appear in
171+ the <literal>WHERE</literal> condition and update expressions. This
172+ uses the same syntax as the<xref linkend="sql-from"
173+ endterm ="sql-from-title"/> of a <command>SELECT</command> statement;
174+ for example, an alias for the table name can be specified. Do not
175+ repeat the target tableas a <replaceable>from_item</replaceable>
176+ unless you intend a self-join (in which case it must appear with
177+ an alias in the <replaceable>from_item </replaceable>).
178178 </para>
179179 </listitem>
180180 </varlistentry>
@@ -264,7 +264,7 @@ UPDATE <replaceable class="parameter">count</replaceable>
264264 <para>
265265 When a <literal>FROM</literal> clause is present, what essentially happens
266266 is that the target table is joined to the tables mentioned in the
267- <replaceable>from_list </replaceable>, and each output row of the join
267+ <replaceable>from_item </replaceable> list , and each output row of the join
268268 represents an update operation for the target table. When using
269269 <literal>FROM</literal> you should ensure that the join
270270 produces at most one output row for each row to be modified. In