Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
8ba4ccda
Commit
8ba4ccda
authored
Jul 08, 2016
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Docs: improve examples about not repeating table name in UPDATE ... SET.
Alexander Law
parent
262c1b2e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
doc/src/sgml/ref/insert.sgml
doc/src/sgml/ref/insert.sgml
+2
-2
doc/src/sgml/ref/update.sgml
doc/src/sgml/ref/update.sgml
+1
-1
No files found.
doc/src/sgml/ref/insert.sgml
View file @
8ba4ccda
...
...
@@ -194,8 +194,8 @@ INSERT INTO <replaceable class="PARAMETER">table_name</replaceable> [ AS <replac
column leaves the other fields null.) When referencing a
column with <literal>ON CONFLICT DO UPDATE</>, do not include
the table's name in the specification of a target column. For
example, <literal>INSERT
... ON CONFLICT DO UPDATE tab SET
table_name.col = 1</> is invalid (this follows the general
example, <literal>INSERT
INTO table_name ... ON CONFLICT DO UPDATE
SET
table_name.col = 1</> is invalid (this follows the general
behavior for <command>UPDATE</>).
</para>
</listitem>
...
...
doc/src/sgml/ref/update.sgml
View file @
8ba4ccda
...
...
@@ -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 — for example,
<literal>UPDATE tab
SET tab
.col = 1</> is invalid.
<literal>UPDATE tab
le_name SET table_name
.col = 1</> is invalid.
</para>
</listitem>
</varlistentry>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment