1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-31 17:02:12 +03:00

Docs: improve examples about not repeating table name in UPDATE ... SET.

Alexander Law
This commit is contained in:
Tom Lane
2016-07-08 12:46:04 -04:00
parent 262c1b2e16
commit 8ba4ccda45
2 changed files with 3 additions and 3 deletions

View File

@@ -123,7 +123,7 @@ UPDATE [ ONLY ] <replaceable class="PARAMETER">table_name</replaceable> [ * ] [
The column name can be qualified with a subfield name or array
subscript, if needed. Do not include the table's name in the
specification of a target column &mdash; for example,
<literal>UPDATE tab SET tab.col = 1</> is invalid.
<literal>UPDATE table_name SET table_name.col = 1</> is invalid.
</para>
</listitem>
</varlistentry>